You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm creating a social media app with React-Auth-Kit and I've come into a problem. When I try to refresh the token with a refresh api (as the documentation suggest), the user gets disconnected and this error is logged to the console:
Cannot update a component (AuthProvider) while rendering a different component (RequireAuth)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm creating a social media app with React-Auth-Kit and I've come into a problem. When I try to refresh the token with a refresh api (as the documentation suggest), the user gets disconnected and this error is logged to the console:
Does anyone know what is causing this and how can I solve this bug?
The full code: https://github.com/alessandrofoglia07/MyVibe-FE/tree/main/src
Beta Was this translation helpful? Give feedback.
All reactions