Code quality checks
This commit is contained in:
@ -60,7 +60,7 @@ export function useKeyboardShortcuts(handlers: KeyboardShortcutHandlers) {
|
||||
h.onArrowRight?.(e.shiftKey)
|
||||
break
|
||||
|
||||
case 'Enter':
|
||||
case 'Enter': {
|
||||
e.preventDefault()
|
||||
const now = Date.now()
|
||||
if (now - lastEnterTime < DOUBLE_ENTER_THRESHOLD) {
|
||||
@ -70,6 +70,7 @@ export function useKeyboardShortcuts(handlers: KeyboardShortcutHandlers) {
|
||||
}
|
||||
lastEnterTime = now
|
||||
break
|
||||
}
|
||||
|
||||
case 'r':
|
||||
case 'R':
|
||||
|
||||
Reference in New Issue
Block a user