Skip to content

Commit

Permalink
fix(shortcut): Unregister for altKey shortcuts.
Browse files Browse the repository at this point in the history
  • Loading branch information
hristoterezov committed Feb 2, 2024
1 parent a3bb1a3 commit 9ac614c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion react/features/keyboard-shortcuts/actions.any.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const registerShortcut = (shortcut: IKeyboardShortcut): AnyAction => {
*/
export const unregisterShortcut = (character: string, altKey = false): AnyAction => {
return {
altKey,
alt: altKey,
type: UNREGISTER_KEYBOARD_SHORTCUT,
character
};
Expand Down

0 comments on commit 9ac614c

Please sign in to comment.