ethan0905 / ft_transcendence

Wiki with step-by-step explained strategy on how to: create app (front+back+infra), 42auth, 2FA and more..
2 stars 0 forks source link

2FA : each number entered refreshes the onChange event #23

Closed ethan0905 closed 1 year ago

ethan0905 commented 1 year ago

Need to fix the 2fa input field

ethan0905 commented 1 year ago

Input field fixed: the error was related to the <Button/> component that for some reason, was called on load, and not onClick. Probably related to props that i am passing as parameters. So to fix this, i decided to use a simple button.