Replies: 1 comment
-
can you please provide a complete minimal example by forking one of the existing stackblitz examples to show why throwing a redirect does not work here? |
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
-
throw redirect does not work here, the page breaks. navigate works perfectly here, but the function is marked as deprecated. What would be a possible workaround?
The backend API returns a user object, and 401 when the user is not authenticated.
(Yes, i know my catch block is a mess, dont pay attention :P )
Beta Was this translation helpful? Give feedback.
All reactions