mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-06 15:30:27 +03:00
add callprovider and callactivationeffect
This commit is contained in:
parent
b88da572a4
commit
5f0ca6a794
1 changed files with 14 additions and 9 deletions
|
|
@ -61,6 +61,8 @@ import { AutoRestoreBackupOnVerification } from '../components/BackupRestore';
|
||||||
import { RoomSettingsRenderer } from '../features/room-settings';
|
import { RoomSettingsRenderer } from '../features/room-settings';
|
||||||
import { ClientRoomsNotificationPreferences } from './client/ClientRoomsNotificationPreferences';
|
import { ClientRoomsNotificationPreferences } from './client/ClientRoomsNotificationPreferences';
|
||||||
import { SpaceSettingsRenderer } from '../features/space-settings';
|
import { SpaceSettingsRenderer } from '../features/space-settings';
|
||||||
|
import { CallProvider } from './client/CallProvider';
|
||||||
|
import { CallActivationEffect } from './call/CallActivation';
|
||||||
|
|
||||||
export const createRouter = (clientConfig: ClientConfig, screenSize: ScreenSize) => {
|
export const createRouter = (clientConfig: ClientConfig, screenSize: ScreenSize) => {
|
||||||
const { hashRouter } = clientConfig;
|
const { hashRouter } = clientConfig;
|
||||||
|
|
@ -116,15 +118,18 @@ export const createRouter = (clientConfig: ClientConfig, screenSize: ScreenSize)
|
||||||
<ClientRoomsNotificationPreferences>
|
<ClientRoomsNotificationPreferences>
|
||||||
<ClientBindAtoms>
|
<ClientBindAtoms>
|
||||||
<ClientNonUIFeatures>
|
<ClientNonUIFeatures>
|
||||||
<ClientLayout
|
<CallProvider>
|
||||||
nav={
|
<ClientLayout
|
||||||
<MobileFriendlyClientNav>
|
nav={
|
||||||
<SidebarNav />
|
<MobileFriendlyClientNav>
|
||||||
</MobileFriendlyClientNav>
|
<SidebarNav />
|
||||||
}
|
</MobileFriendlyClientNav>
|
||||||
>
|
}
|
||||||
<Outlet />
|
>
|
||||||
</ClientLayout>
|
<Outlet />
|
||||||
|
</ClientLayout>
|
||||||
|
<CallActivationEffect />
|
||||||
|
</CallProvider>
|
||||||
<RoomSettingsRenderer />
|
<RoomSettingsRenderer />
|
||||||
<SpaceSettingsRenderer />
|
<SpaceSettingsRenderer />
|
||||||
<ReceiveSelfDeviceVerification />
|
<ReceiveSelfDeviceVerification />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue