mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-06 15:30:27 +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 = {
|
||||
nav: ReactNode;
|
||||
children: ReactNode;
|
||||
};
|
||||
export function ClientLayout({ nav, children }: ClientLayoutProps) {
|
||||
export function ClientLayout({ nav }: ClientLayoutProps) {
|
||||
const { activeCallRoomId } = useCallState();
|
||||
const iframeRef = useRef<HTMLIFrameElement | null>(null);
|
||||
const widgetApiRef = useRef<ClientWidgetApi | null>(null);
|
||||
|
|
@ -53,11 +52,7 @@ export function ClientLayout({ nav, children }: ClientLayoutProps) {
|
|||
<Outlet
|
||||
context={{
|
||||
iframeRef,
|
||||
widgetApiRef,
|
||||
smallWidgetRef,
|
||||
backupIframeRef,
|
||||
backupWidgetApiRef,
|
||||
backupSmallWidgetRef,
|
||||
}}
|
||||
/>
|
||||
</Box>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue