fix issue proposed by bot

This commit is contained in:
Xin Wang 2025-12-04 17:43:21 +08:00
parent 2ca304d64b
commit 9b9ffec064

View File

@ -101,7 +101,7 @@ export function PhoneSimulator({ onConnect }: PhoneSimulatorProps) {
className="w-full h-full object-cover mirror-video"
/>
);
}, [roomState, localCameraTrack]);
}, [roomState, localCameraTrack, onConnect]);
return (
<div className="w-auto max-w-full h-full aspect-[9/19.5] max-h-full bg-black rounded-[40px] border-[12px] border-gray-900 overflow-hidden relative shadow-2xl flex flex-col shrink-0">