Hi there,
I’m working on a side project (ecommerce website) using react. I also used firebase auth to allow users login/signup before they can proceed to checkout.
But here come the problem, inside Formik handleSubmit function
when I try to login as a registered user, the user
state always remains null
on the first try.
- but on other subsequent (second, third ) try, I will be able to finally login
You can have a look at the code snippet below
[GitHub - FesoQue/Wishopa-React-Ecommerce-Website]
This is the repo link:
(GitHub - FesoQue/Wishopa-React-Ecommerce-Website)