diff --git a/packages/hoppscotch-app/components/app/Fuse.vue b/packages/hoppscotch-app/components/app/Fuse.vue index 424b49683..985acc5fa 100644 --- a/packages/hoppscotch-app/components/app/Fuse.vue +++ b/packages/hoppscotch-app/components/app/Fuse.vue @@ -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() }) diff --git a/packages/hoppscotch-app/components/app/Header.vue b/packages/hoppscotch-app/components/app/Header.vue index b7a80dc79..a53e7a886 100644 --- a/packages/hoppscotch-app/components/app/Header.vue +++ b/packages/hoppscotch-app/components/app/Header.vue @@ -145,7 +145,7 @@ diff --git a/packages/hoppscotch-app/components/http/PreRequestScript.vue b/packages/hoppscotch-app/components/http/PreRequestScript.vue index 8cd5fe7ae..a10edd604 100644 --- a/packages/hoppscotch-app/components/http/PreRequestScript.vue +++ b/packages/hoppscotch-app/components/http/PreRequestScript.vue @@ -31,7 +31,7 @@
-
+
(null) +const preRequestEditor = ref(null) const linewrapEnabled = ref(true) useCodemirror( - preRrequestEditor, + preRequestEditor, preRequestScript, reactive({ extendedEditorConfig: { diff --git a/packages/hoppscotch-app/components/realtime/Log.vue b/packages/hoppscotch-app/components/realtime/Log.vue index 0844e03a9..348a2fab7 100644 --- a/packages/hoppscotch-app/components/realtime/Log.vue +++ b/packages/hoppscotch-app/components/realtime/Log.vue @@ -38,7 +38,7 @@ const props = defineProps({ }) const logsRef = ref(null) -const BOTTOM_SCROLL_DIST_INNACURACY = 5 +const BOTTOM_SCROLL_DIST_INACCURACY = 5 watch( () => props.log, @@ -48,7 +48,7 @@ watch( logsRef.value.scrollHeight - logsRef.value.scrollTop - logsRef.value.clientHeight - if (distToBottom < BOTTOM_SCROLL_DIST_INNACURACY) { + if (distToBottom < BOTTOM_SCROLL_DIST_INACCURACY) { nextTick(() => (logsRef.value.scrollTop = logsRef.value.scrollHeight)) } } diff --git a/packages/hoppscotch-app/components/smart/Intersection.vue b/packages/hoppscotch-app/components/smart/Intersection.vue index a532e70bb..dd07249bd 100644 --- a/packages/hoppscotch-app/components/smart/Intersection.vue +++ b/packages/hoppscotch-app/components/smart/Intersection.vue @@ -7,7 +7,7 @@