Skip to content

Commit 4d20a1d

Browse files
committed
fix
1 parent 782f642 commit 4d20a1d

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

app/pages/index.vue

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,6 @@ async function search() {
1515
})
1616
}
1717
18-
const handleInputNpm = debounce(search, 250, { leading: true, trailing: true })
19-
const handleInputAlgolia = debounce(search, 80, { leading: true, trailing: true })
20-
21-
function handleInput() {
22-
if (isTouchDevice()) {
23-
search()
24-
} else if (isAlgolia.value) {
25-
handleInputAlgolia()
26-
} else {
27-
handleInputNpm()
28-
}
29-
}
30-
3118
useSeoMeta({
3219
title: () => $t('seo.home.title'),
3320
ogTitle: () => $t('seo.home.title'),

0 commit comments

Comments
 (0)