Skip to content

Commit

Permalink
fix: Update sync on watched keys change
Browse files Browse the repository at this point in the history
  • Loading branch information
franky47 committed Feb 13, 2025
1 parent 57fdbe2 commit 872b38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuqs/src/adapters/lib/react-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export function createReactRouterBasedAdapter({
emitter.off('update', onEmitterUpdate)
window.removeEventListener('popstate', onPopState)
}
}, [])
}, [watchKeys.join('&')])
return searchParams
}
/**
Expand Down

0 comments on commit 872b38d

Please sign in to comment.