From ad3bde9920b9ce1a20f5f37eb690c7c9193f42b3 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 4 May 2022 17:36:35 +0100 Subject: [PATCH] Undo unintentionally commented line --- src/room/PTTButton.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/room/PTTButton.jsx b/src/room/PTTButton.jsx index 4a5874eb..3a20e64d 100644 --- a/src/room/PTTButton.jsx +++ b/src/room/PTTButton.jsx @@ -16,7 +16,7 @@ export function PTTButton({ }) { const [isHeld, setHeld] = useState(false); const onDocumentMouseUp = useCallback(() => { - //if (isHeld) stopTalking(); + if (isHeld) stopTalking(); setHeld(false); }, [isHeld, setHeld]);