diff --git a/src/frontend/src/features/pip/utils/pipTrackSelection.ts b/src/frontend/src/features/layout/utils/trackSelection.ts similarity index 100% rename from src/frontend/src/features/pip/utils/pipTrackSelection.ts rename to src/frontend/src/features/layout/utils/trackSelection.ts diff --git a/src/frontend/src/features/pip/components/layout/PipGridLayout.tsx b/src/frontend/src/features/pip/components/layout/PipGridLayout.tsx index 4b4afacb..9581c5f9 100644 --- a/src/frontend/src/features/pip/components/layout/PipGridLayout.tsx +++ b/src/frontend/src/features/pip/components/layout/PipGridLayout.tsx @@ -4,7 +4,7 @@ import { styled } from '@/styled-system/jsx' import { ParticipantTile } from '@/features/rooms/livekit/components/ParticipantTile' import { usePipElementSize } from '../../hooks/usePipElementSize' import { computePipGridLayout } from '../../utils/pipGrid' -import { getTrackKey } from '../../utils/pipTrackSelection' +import { getTrackKey } from '@/features/layout/utils/trackSelection' type PipGridLayoutProps = { tracks: TrackReferenceOrPlaceholder[] diff --git a/src/frontend/src/features/pip/components/layout/PipScreenShareLayout.tsx b/src/frontend/src/features/pip/components/layout/PipScreenShareLayout.tsx index b78dbcc0..035f8d44 100644 --- a/src/frontend/src/features/pip/components/layout/PipScreenShareLayout.tsx +++ b/src/frontend/src/features/pip/components/layout/PipScreenShareLayout.tsx @@ -2,7 +2,7 @@ import { memo } from 'react' import type { TrackReferenceOrPlaceholder } from '@livekit/components-core' import { styled } from '@/styled-system/jsx' import { ParticipantTile } from '@/features/rooms/livekit/components/ParticipantTile' -import { getTrackKey } from '../../utils/pipTrackSelection' +import { getTrackKey } from '@/features/layout/utils/trackSelection' type PipScreenShareLayoutProps = { screenShareTrack: TrackReferenceOrPlaceholder