File tree 3 files changed +6
-3
lines changed
packages/nuqs/src/adapters
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ function useNuqsReactRouterV6Adapter() {
9
9
const updateUrl = ( search : URLSearchParams , options : AdapterOptions ) => {
10
10
navigate (
11
11
{
12
- search : renderQueryString ( search )
12
+ search : renderQueryString ( search ) ,
13
+ hash : location . hash
13
14
} ,
14
15
{
15
16
replace : options . history === 'replace' ,
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ function useNuqsReactRouterV7Adapter() {
9
9
const updateUrl = ( search : URLSearchParams , options : AdapterOptions ) => {
10
10
navigate (
11
11
{
12
- search : renderQueryString ( search )
12
+ search : renderQueryString ( search ) ,
13
+ hash : location . hash
13
14
} ,
14
15
{
15
16
replace : options . history === 'replace' ,
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ function useNuqsRemixAdapter() {
9
9
const updateUrl = ( search : URLSearchParams , options : AdapterOptions ) => {
10
10
navigate (
11
11
{
12
- search : renderQueryString ( search )
12
+ search : renderQueryString ( search ) ,
13
+ hash : location . hash
13
14
} ,
14
15
{
15
16
replace : options . history === 'replace' ,
You can’t perform that action at this time.
0 commit comments