diff --git a/src/room/PTTButton.jsx b/src/room/PTTButton.jsx index 4a5874e..3a20e64 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]);