File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/vite/src/app/pages/session/[session] Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import type { SessionContext } from '~~/shared/types'
33import type { ClientSettings } from ' ~/state/settings'
44import { useRoute , useRouter } from ' #app/composables/router'
55import { clearUndefined , toArray } from ' @antfu/utils'
6- import { computedWithControl , debouncedWatch } from ' @vueuse/core'
6+ import { computedWithControl , watchDebounced } from ' @vueuse/core'
77import Fuse from ' fuse.js'
88import { computed , ref } from ' vue'
99import { settings } from ' ~/state/settings'
@@ -50,7 +50,7 @@ const moduleViewTypes = [
5050 },
5151] as const
5252
53- debouncedWatch (
53+ watchDebounced (
5454 searchValue .value ,
5555 (f ) => {
5656 const query: any = {
Original file line number Diff line number Diff line change 22import type { SessionContext } from ' ~~/shared/types'
33import { useRoute , useRouter } from ' #app/composables/router'
44import { clearUndefined , toArray } from ' @antfu/utils'
5- import { computedWithControl , debouncedWatch } from ' @vueuse/core'
5+ import { computedWithControl , watchDebounced } from ' @vueuse/core'
66import Fuse from ' fuse.js'
77import { computed , ref } from ' vue'
88import { DefaultPluginType , getPluginTypeFromName , PluginTypeRules } from ' ~/utils/icon'
@@ -59,7 +59,7 @@ const searched = computed(() => {
5959 .map (r => r .item )
6060})
6161
62- debouncedWatch (
62+ watchDebounced (
6363 searchValue .value ,
6464 (f ) => {
6565 const query: any = {
You can’t perform that action at this time.
0 commit comments