diff --git a/src/components/playground/PhoneSimulator.tsx b/src/components/playground/PhoneSimulator.tsx index 393d41a..3fa6856 100644 --- a/src/components/playground/PhoneSimulator.tsx +++ b/src/components/playground/PhoneSimulator.tsx @@ -101,7 +101,7 @@ export function PhoneSimulator({ onConnect }: PhoneSimulatorProps) { className="w-full h-full object-cover mirror-video" /> ); - }, [roomState, localCameraTrack]); + }, [roomState, localCameraTrack, onConnect]); return (