navigation not working properly #11355
-
I am creating a very simple React application that uses Firebase for authentication. After signing in with Google the user will navigate to the chat page properly if he is an existing user. If it is a new user I will add that user to my Firestore DB before calling the navigate function. In that case, I can see the URL in the browser change but the page is still the same(Sign in with Google button).
|
Beta Was this translation helpful? Give feedback.
Answered by
sankaSanjeeva
Mar 22, 2024
Replies: 1 comment
-
Calling navigate method inside a
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sankaSanjeeva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Calling navigate method inside a
useEffect
fixed the issue