Add a comment
This commit is contained in:
parent
276532e2e1
commit
2eae6243bb
1 changed files with 1 additions and 0 deletions
|
@ -58,6 +58,7 @@ export const PTTButton: React.FC<Props> = ({
|
|||
|
||||
const hold = useCallback(() => {
|
||||
setHeld(true);
|
||||
// This update is delayed so the user only sees it if latency is significant
|
||||
enqueueNetworkWaiting(true, 100);
|
||||
}, [setHeld, enqueueNetworkWaiting]);
|
||||
const unhold = useCallback(() => {
|
||||
|
|
Loading…
Reference in a new issue