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>
|
||||
|
||||
@@ -145,7 +145,7 @@
|
||||
<script setup lang="ts">
|
||||
import { onMounted, reactive, ref } from "@nuxtjs/composition-api"
|
||||
import { useNetwork } from "@vueuse/core"
|
||||
import intializePwa from "~/helpers/pwa"
|
||||
import initializePwa from "~/helpers/pwa"
|
||||
import { probableUser$ } from "~/helpers/fb/auth"
|
||||
import { getLocalConfig, setLocalConfig } from "~/newstore/localpersistence"
|
||||
import {
|
||||
@@ -181,7 +181,7 @@ defineActionHandler("modals.support.toggle", () => {
|
||||
onMounted(() => {
|
||||
// Initializes the PWA code - checks if the app is installed,
|
||||
// etc.
|
||||
showInstallPrompt.value = intializePwa()
|
||||
showInstallPrompt.value = initializePwa()
|
||||
|
||||
const cookiesAllowed = getLocalConfig("cookiesAllowed") === "yes"
|
||||
if (!cookiesAllowed) {
|
||||
|
||||
@@ -107,7 +107,7 @@ const shortcutsItems = computed(() =>
|
||||
)
|
||||
)
|
||||
|
||||
const { bindArrowKeysListerners, unbindArrowKeysListerners, selectedEntry } =
|
||||
const { bindArrowKeysListeners, unbindArrowKeysListeners, selectedEntry } =
|
||||
useArrowKeysNavigation(shortcutsItems, {
|
||||
onEnter: runAction,
|
||||
})
|
||||
@@ -115,8 +115,8 @@ const { bindArrowKeysListerners, unbindArrowKeysListerners, selectedEntry } =
|
||||
watch(
|
||||
() => props.show,
|
||||
(show) => {
|
||||
if (show) bindArrowKeysListerners()
|
||||
else unbindArrowKeysListerners()
|
||||
if (show) bindArrowKeysListeners()
|
||||
else unbindArrowKeysListeners()
|
||||
}
|
||||
)
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user