Skip to content

Commit

Permalink
fix: ci lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Deuscx committed Sep 14, 2023
1 parent 3a4bebc commit a1ec654
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/client/SearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { computed, ref } from 'vue'
import { debouncedWatch } from '@vueuse/core'
import Modal from './Modal.vue'
console.log(index)
const locale = useRouteLocale()
const query = ref('')
const localeIndex = new Map()
Expand Down Expand Up @@ -35,7 +34,6 @@ function setupLocalIndex() {
const searchResults = ref()
function search() {
const results = currentIndex.value.search(query.value)
console.log(results)
const uniqueResults = new Set(results.flatMap(item => item.result) || [])
searchResults.value = [...uniqueResults].map((key) => {
const page = index[locale.value].find(page => page.id === key)
Expand Down

0 comments on commit a1ec654

Please sign in to comment.