refactor: check spelling (#2200)

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2022-03-25 07:19:28 -04:00
committed by GitHub
parent 8197458a4b
commit b18c5e76c9
16 changed files with 32 additions and 32 deletions

View File

@@ -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>

View File

@@ -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) {

View File

@@ -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>