We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 543f33f commit cf2f61aCopy full SHA for cf2f61a
src/components/search/InstantSearch.tsx
@@ -15,7 +15,7 @@ function SearchBox(props: UseSearchBoxProps) {
15
16
useEffect(() => {
17
const params = new URLSearchParams(window.location.search);
18
- const query = params.get("query");
+ const query = params.get("q") ?? params.get("query");
19
20
if (query) {
21
refine(query);
0 commit comments