Redirect from hooks.js doesn't work anymore after breaking changes #6120
steffenstolze
started this conversation in
General
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We use a handle function in
hooks/index.js
to redirect a user to/account/onboarding
when certain criteria matched and the user actively enters a url in the browser.if a user now clicks an
<a>
tag to/
the route will not change but we get an error:if I remove the redirect line, everything works fine.
How can we fix this? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions