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 want to navigate to another route if the user has not completed the process after login, but I am unable to track where the navigation to the / route is happening so that I can navigate according to myself if user is not complete then navigate to this page otherwise.
I tried handling this in the index.tsx file, where all the routes are defined. It navigates to my desired route as expected, but for a fraction of a second, it first navigates to the / route before reaching my page.
If anyone has a better understanding or solution, please let me know.
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 want to navigate to another route if the user has not completed the process after login, but I am unable to track where the navigation to the / route is happening so that I can navigate according to myself if user is not complete then navigate to this page otherwise.
I tried handling this in the index.tsx file, where all the routes are defined. It navigates to my desired route as expected, but for a fraction of a second, it first navigates to the / route before reaching my page.
If anyone has a better understanding or solution, please let me know.
Beta Was this translation helpful? Give feedback.
All reactions