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
Is your feature request related to a problem? Please describe.
Point is add a getCurrentUser method which runs whenever the app loads. It checks if the user is authenticated and if yes, then loads the profile. Then based on authenticated status, home or login page will be loaded.
(This method will call the /user/profile route in the backend)
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
I'll soon submit a PR for it.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Point is add a getCurrentUser method which runs whenever the app loads. It checks if the user is authenticated and if yes, then loads the profile. Then based on authenticated status, home or login page will be loaded.
(This method will call the /user/profile route in the backend)
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
I'll soon submit a PR for it.
The text was updated successfully, but these errors were encountered: