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 = { 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>