diff --git a/src/runtime/composables/search.ts b/src/runtime/composables/search.ts index cad935625..3c19e8e33 100644 --- a/src/runtime/composables/search.ts +++ b/src/runtime/composables/search.ts @@ -1,3 +1,4 @@ +import { createError } from 'h3' import MiniSearch, { type Options as MiniSearchOptions } from 'minisearch' import { useRuntimeConfig, useFetch, type MaybeRefOrGetter, ref, computed, toValue, type Ref } from '#imports'