Created
September 14, 2022 15:09
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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