remove unused params

This commit is contained in:
Gigiaj 2025-05-09 09:35:13 -05:00
parent 8b2fa10679
commit 0be5fb9732

View file

@ -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>