We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07358d1 commit 91909fcCopy full SHA for 91909fc
packages/docs/content/docs/community-adapters/waku.mdx
@@ -27,8 +27,7 @@ function useNuqsAdapter() {
27
const searchParams = new URLSearchParams(query);
28
const updateUrl = (search: URLSearchParams, options: AdapterOptions) => {
29
const query = renderQueryString(search);
30
- const hash = typeof location !== "undefined" ? location.hash : "";
31
- const url = path + query + hash;
+ const url = path + query + location.hash;
32
if (options.shallow) {
33
options.history === "push"
34
? history.pushState(null, "", url)
0 commit comments