Skip to content

Commit

Permalink
Remove void return
Browse files Browse the repository at this point in the history
  • Loading branch information
BartoszGrajdek committed Sep 12, 2023
1 parent e381c95 commit 383b991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/actions/KeyboardShortcuts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Onyx.connect({
/**
* Set keyboard shortcuts flag to show modal
*/
function showKeyboardShortcutModal(): void {
function showKeyboardShortcutModal() {
if (isShortcutsModalOpen) {
return;
}
Expand All @@ -21,7 +21,7 @@ function showKeyboardShortcutModal(): void {
/**
* Unset keyboard shortcuts flag to hide modal
*/
function hideKeyboardShortcutModal(): void {
function hideKeyboardShortcutModal() {
if (!isShortcutsModalOpen) {
return;
}
Expand Down

0 comments on commit 383b991

Please sign in to comment.