From a81492c5b2af1386dfa284cd0aa1399253cee42e Mon Sep 17 00:00:00 2001 From: Gigiaj Date: Thu, 22 May 2025 19:57:40 -0500 Subject: [PATCH] update imports and dependency array --- src/app/features/room/CallView.tsx | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/app/features/room/CallView.tsx b/src/app/features/room/CallView.tsx index ecd28957..f1e0a4ec 100644 --- a/src/app/features/room/CallView.tsx +++ b/src/app/features/room/CallView.tsx @@ -4,8 +4,11 @@ import React, { useContext, useMemo } from 'react'; import { useCallback, useEffect, useRef } from 'react'; import { Box } from 'folds'; import { RoomViewHeader } from './RoomViewHeader'; -import { useCallState } from '../../pages/client/CallProvider'; -import { PrimaryRefContext, BackupRefContext } from '../../pages/call/PersistentCallContainer'; +import { useCallState } from '../../pages/client/call/CallProvider'; +import { + PrimaryRefContext, + BackupRefContext, +} from '../../pages/client/call/PersistentCallContainer'; import { ScreenSize, useScreenSizeContext } from '../../hooks/useScreenSize'; function debounce any>(func: F, waitFor: number) { @@ -125,7 +128,14 @@ export function CallView({ room, eventId }: { room: Room; eventId?: string }) { originalIframeStylesRef.current = null; }; } - }, [activeIframeDisplayRef, applyFixedPositioningToIframe, debouncedApplyFixedPositioning, isPrimaryIframe, isViewingActiveCall, room]); + }, [ + activeIframeDisplayRef, + applyFixedPositioningToIframe, + debouncedApplyFixedPositioning, + isPrimaryIframe, + isViewingActiveCall, + room, + ]); const isCallViewVisible = room.isCallRoom();