diff --git a/src/room/useLiveKit.ts b/src/livekit/useLiveKit.ts similarity index 98% rename from src/room/useLiveKit.ts rename to src/livekit/useLiveKit.ts index 55289c92..90f9eba1 100644 --- a/src/room/useLiveKit.ts +++ b/src/livekit/useLiveKit.ts @@ -6,7 +6,7 @@ import { } from "@livekit/components-react"; import { MediaDevicesState, MediaDevices } from "../settings/mediaDevices"; -import { LocalMediaInfo, MediaInfo } from "./VideoPreview"; +import { LocalMediaInfo, MediaInfo } from "../room/VideoPreview"; type LiveKitState = { // The state of the media devices (changing the devices will also change them in the room). diff --git a/src/room/GroupCallView.tsx b/src/room/GroupCallView.tsx index 20ebc286..9e8a3894 100644 --- a/src/room/GroupCallView.tsx +++ b/src/room/GroupCallView.tsx @@ -31,7 +31,7 @@ import { CallEndedView } from "./CallEndedView"; import { useSentryGroupCallHandler } from "./useSentryGroupCallHandler"; import { PosthogAnalytics } from "../PosthogAnalytics"; import { useProfile } from "../profile/useProfile"; -import { useLiveKit } from "./useLiveKit"; +import { useLiveKit } from "../livekit/useLiveKit"; declare global { interface Window {