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 e3d3ffb commit 72176b2Copy full SHA for 72176b2
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