From 9b9ffec0644c9e62f9efab9594da27470f0c3b7c Mon Sep 17 00:00:00 2001 From: Xin Wang Date: Thu, 4 Dec 2025 17:43:21 +0800 Subject: [PATCH] fix issue proposed by bot --- src/components/playground/PhoneSimulator.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (