refactor: check spelling (#2200)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
@@ -53,17 +53,17 @@ const searchResultsItems = computed(() =>
|
||||
|
||||
const emitSearchAction = (action: HoppAction) => emit("action", action)
|
||||
|
||||
const { bindArrowKeysListerners, unbindArrowKeysListerners, selectedEntry } =
|
||||
const { bindArrowKeysListeners, unbindArrowKeysListeners, selectedEntry } =
|
||||
useArrowKeysNavigation(searchResultsItems, {
|
||||
onEnter: emitSearchAction,
|
||||
stopPropagation: true,
|
||||
})
|
||||
|
||||
onMounted(() => {
|
||||
bindArrowKeysListerners()
|
||||
bindArrowKeysListeners()
|
||||
})
|
||||
|
||||
onUnmounted(() => {
|
||||
unbindArrowKeysListerners()
|
||||
unbindArrowKeysListeners()
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user