From 6f1398981928343a4987a59fbc98e431c5bc61ac Mon Sep 17 00:00:00 2001 From: Robin Townsend Date: Wed, 19 Apr 2023 15:55:55 -0400 Subject: [PATCH] Fix lint errors --- src/useCallViewKeyboardShortcuts.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/useCallViewKeyboardShortcuts.ts b/src/useCallViewKeyboardShortcuts.ts index 5f9c457..e25cb04 100644 --- a/src/useCallViewKeyboardShortcuts.ts +++ b/src/useCallViewKeyboardShortcuts.ts @@ -62,7 +62,12 @@ export function useCallViewKeyboardShortcuts( setMicrophoneMuted(false); } }, - [toggleLocalVideoMuted, toggleMicrophoneMuted, setMicrophoneMuted] + [ + focusElement, + toggleLocalVideoMuted, + toggleMicrophoneMuted, + setMicrophoneMuted, + ] ) ); @@ -82,7 +87,7 @@ export function useCallViewKeyboardShortcuts( setMicrophoneMuted(true); } }, - [setMicrophoneMuted] + [focusElement, setMicrophoneMuted] ) );