Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
RED-ROSE515 committed Dec 29, 2024
1 parent db46010 commit e567a9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ export const inputHandlers = (store: Store<State, any>) => ({
// Otherwise use the normal command lookup
const command = sequence?.toString().endsWith(helpGesture)
? helpCommand
: (!state.showCommandPalette || !commandGestureIndex[sequence as string]?.hideFromHelp
: !state.showCommandPalette || !commandGestureIndex[sequence as string]?.hideFromHelp
? commandGestureIndex[sequence as string]
: null)
: null

// execute command
// do not execute when modal is displayed or a drag is in progress
Expand Down

0 comments on commit e567a9d

Please sign in to comment.