From 0db52c2d3759030d1b3532612b4958d2e801ebb6 Mon Sep 17 00:00:00 2001 From: Gigiaj Date: Thu, 22 May 2025 20:02:35 -0500 Subject: [PATCH] Moved CallProvider --- src/app/features/room-nav/RoomNavItem.tsx | 2 +- src/app/features/room/Room.tsx | 2 +- src/app/features/room/RoomViewHeader.tsx | 2 +- src/app/pages/Router.tsx | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/features/room-nav/RoomNavItem.tsx b/src/app/features/room-nav/RoomNavItem.tsx index c11d048f..89ac9061 100644 --- a/src/app/features/room-nav/RoomNavItem.tsx +++ b/src/app/features/room-nav/RoomNavItem.tsx @@ -52,7 +52,7 @@ import { RoomNotificationMode, } from '../../hooks/useRoomsNotificationPreferences'; import { RoomNotificationModeSwitcher } from '../../components/RoomNotificationSwitcher'; -import { useCallState } from '../../pages/client/CallProvider'; +import { useCallState } from '../../pages/client/call/CallProvider'; import { useRoomNavigate } from '../../hooks/useRoomNavigate'; import { ScreenSize, useScreenSizeContext } from '../../hooks/useScreenSize'; diff --git a/src/app/features/room/Room.tsx b/src/app/features/room/Room.tsx index 835c750b..ba989ff3 100644 --- a/src/app/features/room/Room.tsx +++ b/src/app/features/room/Room.tsx @@ -14,7 +14,7 @@ import { markAsRead } from '../../../client/action/notifications'; import { useMatrixClient } from '../../hooks/useMatrixClient'; import { useRoomMembers } from '../../hooks/useRoomMembers'; import { CallView } from './CallView'; -import { useCallState } from '../../pages/client/CallProvider'; +import { useCallState } from '../../pages/client/call/CallProvider'; export function Room() { const { eventId } = useParams(); diff --git a/src/app/features/room/RoomViewHeader.tsx b/src/app/features/room/RoomViewHeader.tsx index ea57f2ba..5563a5c8 100644 --- a/src/app/features/room/RoomViewHeader.tsx +++ b/src/app/features/room/RoomViewHeader.tsx @@ -65,7 +65,7 @@ import { getRoomNotificationModeIcon, useRoomsNotificationPreferencesContext, } from '../../hooks/useRoomsNotificationPreferences'; -import { useCallState } from '../../pages/client/CallProvider'; +import { useCallState } from '../../pages/client/call/CallProvider'; type RoomMenuProps = { room: Room; diff --git a/src/app/pages/Router.tsx b/src/app/pages/Router.tsx index a561bf39..1af0648e 100644 --- a/src/app/pages/Router.tsx +++ b/src/app/pages/Router.tsx @@ -61,8 +61,8 @@ import { AutoRestoreBackupOnVerification } from '../components/BackupRestore'; import { RoomSettingsRenderer } from '../features/room-settings'; import { ClientRoomsNotificationPreferences } from './client/ClientRoomsNotificationPreferences'; import { SpaceSettingsRenderer } from '../features/space-settings'; -import { CallProvider } from './client/CallProvider'; -import { PersistentCallContainer } from './call/PersistentCallContainer'; +import { CallProvider } from './client/call/CallProvider'; +import { PersistentCallContainer } from './client/call/PersistentCallContainer'; export const createRouter = (clientConfig: ClientConfig, screenSize: ScreenSize) => { const { hashRouter } = clientConfig;