mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
Undo unintentionally commented line
This commit is contained in:
parent
85a98b3706
commit
ad3bde9920
@ -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 New Issue
Block a user