#Formstate value is not getting set correctly
17 messages · Page 1 of 1 (latest)
Oh yea idc about the error I just want to know why its not setting correctly. I also just found something even weirder
when I put the console.log under the decleraction of it, it logs this:
I think that's the correct syntax.
And re the log: so it does get updated, just doesn't show?
Idk this is breaking my brain
It must get updated but after the data get posted to the databse
sorry, I fear I can't help, hopefully someone else will... Good luck!!
Thanks ❤️
accountEquity is a string , you're passing a number ?
I changed it and its still returning 1
this is so confusing
the console log just after setFormState wont show you the updated formState
why?
because it hasent updated yet?
?