-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
SignUp page doesn't redirect #6
Comments
Hm, I never experienced this nor did anybody else. Why do you think that it doesn't work? |
Hey, thanks for getting back to me. I just realized I changed something in the When I change it to this:
it doesn't work anymore. Do you know why this might be? |
It looks like my addition of |
No worries. Glad that you've figured out the issue :) |
Just to clarify, in case anyone comes into contact with this issue. The AUTH API within the firebase.js file uses fat arrow functions without curly braces. If curly braces are introduced, a return statement is required in order for the promise to be returned for the .then function in the SignUp component. .then is undefined in the following: the following options return a valid response: (return statement added) or (no curly braces) Correct me if I'm wrong! (Amazing work, by the way) |
event.preventDefault()
doesn't appear to be working on the SignUp page, which causes the page to refresh and the user is never redirected.The text was updated successfully, but these errors were encountered: