Replies: 1 comment
-
On second thought, I think the error was caused by |
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.
-
I would like to create a feature that automatically routes to the login page when accessing a route that requires authentication, and then returns to the original page after login. I have implemented it as shown in the code below, but I am getting an error. How can I fix it?
The route code for the path
(authorized)/route.tsx
.The code below is the sign in mutation used when signing in.
I get an error like the one below
For reference, the fetching library uses ky.
Beta Was this translation helpful? Give feedback.
All reactions