diff --git a/src/components/Search/SmartSearchBar.jsx b/src/components/Search/SmartSearchBar.jsx index aee369e..55b07f7 100644 --- a/src/components/Search/SmartSearchBar.jsx +++ b/src/components/Search/SmartSearchBar.jsx @@ -85,12 +85,14 @@ export default function SmartSearchBar({ setErr(""); if (abortRef.current) abortRef.current.abort(); - if (!query) { - setItems([]); - setLoading(false); - setActive(-1); - return; - } + + // Allow empty query to get popular suggestions + // if (!query) { + // setItems([]); + // setLoading(false); + // setActive(-1); + // return; + // } const ctrl = new AbortController(); abortRef.current = ctrl;