diff --git a/src/libs/actions/KeyboardShortcuts.ts b/src/libs/actions/KeyboardShortcuts.ts index 3f12f9fc92e1..f401e3dd89aa 100644 --- a/src/libs/actions/KeyboardShortcuts.ts +++ b/src/libs/actions/KeyboardShortcuts.ts @@ -11,7 +11,7 @@ Onyx.connect({ /** * Set keyboard shortcuts flag to show modal */ -function showKeyboardShortcutModal(): void { +function showKeyboardShortcutModal() { if (isShortcutsModalOpen) { return; } @@ -21,7 +21,7 @@ function showKeyboardShortcutModal(): void { /** * Unset keyboard shortcuts flag to hide modal */ -function hideKeyboardShortcutModal(): void { +function hideKeyboardShortcutModal() { if (!isShortcutsModalOpen) { return; }