search results: remove n keybinding for selecting first result (#45155)

This commit is contained in:
Rok Novosel 2022-12-05 13:25:19 +01:00 committed by GitHub
parent b14f7f0fcf
commit ca27002034
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,7 @@ export function useSearchResultsKeyboardNavigation(
return
}
if ((event.key === 'ArrowDown' && isMetaKey(event, isMacPlatform())) || event.key === 'n') {
if (event.key === 'ArrowDown' && isMetaKey(event, isMacPlatform())) {
selectFirstResult(root)
event.preventDefault()
}