Undo unintentionally commented line

This commit is contained in:
David Baker 2022-05-04 17:36:35 +01:00
parent 85a98b3706
commit ad3bde9920

View File

@ -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]);