Skip to content

Commit

Permalink
regression
Browse files Browse the repository at this point in the history
  • Loading branch information
zonemeen committed Nov 3, 2023
1 parent a8e03bc commit 5bd6c88
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/client/theme-default/components/VPLocalSearchBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import {
watchEffect,
type Ref
} from 'vue'
import { LRUCache } from 'lru-cache'
import type { ModalTranslations } from '../../../../types/local-search'
import { pathToFile } from '../../app/utils'
import { useData } from '../composables/data'
Expand Down Expand Up @@ -143,7 +142,7 @@ const mark = computedAsync(async () => {
return markRaw(new Mark(resultsEl.value))
}, null)
const cache = new LRUCache<string, Map<string, string>>({ max: 256 })
const cache = new Map<string, Map<string, string>>()
debouncedWatch(
() => [searchIndex.value, filterText.value, showDetailedList.value] as const,
Expand Down

0 comments on commit 5bd6c88

Please sign in to comment.