Skip to content

Instantly share code, notes, and snippets.

@luisfelipe-dev
Created September 14, 2022 15:09
Show Gist options
  • Save luisfelipe-dev/a36a60a1470073966f676f05bb12fd85 to your computer and use it in GitHub Desktop.
Save luisfelipe-dev/a36a60a1470073966f676f05bb12fd85 to your computer and use it in GitHub Desktop.
How to hide query params from the URL while using router.push
onClick={() =>
Router.push(
{
pathname: 'url',
query: {
status: 'status-query'
}
},
'url'
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment