diff --git a/frontend/islands/GlobalSearch.tsx b/frontend/islands/GlobalSearch.tsx index 96b484b7..56d56553 100644 --- a/frontend/islands/GlobalSearch.tsx +++ b/frontend/islands/GlobalSearch.tsx @@ -136,6 +136,7 @@ export function GlobalSearch( searchNRef.current.displayed = searchN; batch(() => { selectionIdx.value = -1; + // @ts-ignore orama's return type doesn't match our type suggestions.value = res?.hits.map((hit) => hit.document) ?? []; }); } else if (kind === "packages") { diff --git a/frontend/routes/packages.tsx b/frontend/routes/packages.tsx index a654746e..0666cc16 100644 --- a/frontend/routes/packages.tsx +++ b/frontend/routes/packages.tsx @@ -109,6 +109,7 @@ export const handler: Handlers = { } return ctx.render({ + // @ts-ignore orama's return type doesn't match our type packages, query: search, page,