We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b706835 commit ecdd4dcCopy full SHA for ecdd4dc
1 file changed
src/components/Header.tsx
@@ -86,7 +86,8 @@ function Header({ menuOpen, menuOpenSetter }): JSX.Element {
86
q: query,
87
},
88
};
89
- navigate(form.action + `?q=${encodeURIComponent(query)}`, options);
+
90
+ navigate(new URL(form.action).pathname + `?q=${encodeURIComponent(query)}`, options);
91
return false;
92
}
93
0 commit comments