mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-06 23:30:28 +03:00
remove unused params
This commit is contained in:
parent
8b2fa10679
commit
0be5fb9732
1 changed files with 1 additions and 6 deletions
|
|
@ -9,9 +9,8 @@ import { SmallWidget } from '../../features/room/SmallWidget';
|
||||||
|
|
||||||
type ClientLayoutProps = {
|
type ClientLayoutProps = {
|
||||||
nav: ReactNode;
|
nav: ReactNode;
|
||||||
children: ReactNode;
|
|
||||||
};
|
};
|
||||||
export function ClientLayout({ nav, children }: ClientLayoutProps) {
|
export function ClientLayout({ nav }: ClientLayoutProps) {
|
||||||
const { activeCallRoomId } = useCallState();
|
const { activeCallRoomId } = useCallState();
|
||||||
const iframeRef = useRef<HTMLIFrameElement | null>(null);
|
const iframeRef = useRef<HTMLIFrameElement | null>(null);
|
||||||
const widgetApiRef = useRef<ClientWidgetApi | null>(null);
|
const widgetApiRef = useRef<ClientWidgetApi | null>(null);
|
||||||
|
|
@ -53,11 +52,7 @@ export function ClientLayout({ nav, children }: ClientLayoutProps) {
|
||||||
<Outlet
|
<Outlet
|
||||||
context={{
|
context={{
|
||||||
iframeRef,
|
iframeRef,
|
||||||
widgetApiRef,
|
|
||||||
smallWidgetRef,
|
|
||||||
backupIframeRef,
|
backupIframeRef,
|
||||||
backupWidgetApiRef,
|
|
||||||
backupSmallWidgetRef,
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue