From 6466d380c40c6b54096771757c52db34b73221e6 Mon Sep 17 00:00:00 2001 From: xdzqyyds <139134069+xdzqyyds@users.noreply.github.com> Date: Thu, 21 Nov 2024 15:08:27 +0800 Subject: [PATCH] Delete a blank line from player.tsx --- webapp/components/player/player.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/webapp/components/player/player.tsx b/webapp/components/player/player.tsx index 7485782..523d7c1 100644 --- a/webapp/components/player/player.tsx +++ b/webapp/components/player/player.tsx @@ -38,7 +38,6 @@ export default function Player(props: { stream: MediaStream, muted: boolean, aud const videoTrack = props.stream.getVideoTracks()[0] const [currentDeviceSpeaker] = useAtom(deviceSpeakerAtom) - useEffect(() => { if (audioTrack && !videoTrack) { setShowAudio(true)