diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index fba1292..496a46f 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -30,6 +30,7 @@ function App() { }); const onInputChange = (query: string) => { + // TODO: we can migrate this searching to Rust, so we don't abuse the main thread. const searched = fuze.search(query).flatMap(s => s.item).flatMap(s => s.Text ?? []); setSearchResults(searched); } @@ -56,7 +57,7 @@ function App() { @@ -89,7 +90,7 @@ function App() { class="bg-white rounded-md border border-gray-200 shadow-md origin-[var(--kb-search-content-transform-origin)] w-[var(--kb-popper-anchor-width)] data-[expanded]:animate-contentShow" onCloseAutoFocus={(e) => e.preventDefault()} > - + 😬 No emoji found