Format code

This commit is contained in:
Robin
2023-10-11 10:42:04 -04:00
parent b28e465122
commit 614bc82402
112 changed files with 628 additions and 602 deletions

View File

@@ -34,7 +34,7 @@ export function useCallViewKeyboardShortcuts(
focusElement: RefObject<HTMLElement | null>,
toggleMicrophoneMuted: () => void,
toggleLocalVideoMuted: () => void,
setMicrophoneMuted: (muted: boolean) => void
setMicrophoneMuted: (muted: boolean) => void,
): void {
const spacebarHeld = useRef(false);
@@ -63,8 +63,8 @@ export function useCallViewKeyboardShortcuts(
toggleLocalVideoMuted,
toggleMicrophoneMuted,
setMicrophoneMuted,
]
)
],
),
);
useEventTarget(
@@ -80,8 +80,8 @@ export function useCallViewKeyboardShortcuts(
setMicrophoneMuted(true);
}
},
[focusElement, setMicrophoneMuted]
)
[focusElement, setMicrophoneMuted],
),
);
useEventTarget(
@@ -92,6 +92,6 @@ export function useCallViewKeyboardShortcuts(
spacebarHeld.current = false;
setMicrophoneMuted(true);
}
}, [setMicrophoneMuted, spacebarHeld])
}, [setMicrophoneMuted, spacebarHeld]),
);
}