-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no request when no token #26
Comments
What you can do is, wrap with For example: if you have a
Hope this helps. Feel free to reach out to us if you face any issues. |
My whole application is wrapped with the AuthProvider which has my App Router beneath. |
Hi is there a way, to not to do a request when there is no jwt token in localStorage?
It should just render the login page
Now it is doing an unneccessary empty request, and the response is also empty. so the userInfo is null.
We should be able to skip that.., do you know how?
The text was updated successfully, but these errors were encountered: