Replies: 1 comment
-
This video should help you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is my Link component that allows such behavior, it works fine unless the route is dynamic.
I tried changing the CURRENT_PATH to router.asPath, but as a result, it hard refreshes to /login
I know href property should follows the page routes structure so router.asPath is no help.
Is this impossible to do?
I'm using the auth query to toggle between signup and signing modal.
Also to close the modal I use router.push(router.pathname)
Beta Was this translation helpful? Give feedback.
All reactions