Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesKlauss committed Jan 4, 2024
1 parent 2ae1c96 commit 2ab36b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const isHotkeyMatchingKeyboardEvent = (e: KeyboardEvent, hotkey: Hotkey,
const pressedKey = pressedKeyUppercase.toLowerCase()

if (!keys?.includes(keyCode) && !['ctrl', 'control', 'unknown', 'meta', 'alt', 'shift', 'os'].includes(keyCode)) {
return false;
return false
}

if (!ignoreModifiers) {
Expand Down

1 comment on commit 2ab36b3

@vercel
Copy link

@vercel vercel bot commented on 2ab36b3 Jan 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.