Undo unintentionally commented line
This commit is contained in:
parent
85a98b3706
commit
ad3bde9920
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue