Having issues with Formik Validation

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 nullon 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)

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.