Skip to content

Commit d4b7f4d

Browse files
committed
chore: remove deprecated api
1 parent 7ca8890 commit d4b7f4d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/vite/src/app/pages/session/[session]/graph/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { SessionContext } from '~~/shared/types'
33
import type { ClientSettings } from '~/state/settings'
44
import { useRoute, useRouter } from '#app/composables/router'
55
import { clearUndefined, toArray } from '@antfu/utils'
6-
import { computedWithControl, debouncedWatch } from '@vueuse/core'
6+
import { computedWithControl, watchDebounced } from '@vueuse/core'
77
import Fuse from 'fuse.js'
88
import { computed, ref } from 'vue'
99
import { 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 = {

packages/vite/src/app/pages/session/[session]/plugins.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import type { SessionContext } from '~~/shared/types'
33
import { useRoute, useRouter } from '#app/composables/router'
44
import { clearUndefined, toArray } from '@antfu/utils'
5-
import { computedWithControl, debouncedWatch } from '@vueuse/core'
5+
import { computedWithControl, watchDebounced } from '@vueuse/core'
66
import Fuse from 'fuse.js'
77
import { computed, ref } from 'vue'
88
import { 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 = {

0 commit comments

Comments
 (0)