i followed several threads about the authentification process with Moralis, but i can’t find where i made a mistake with the following code:
here is my code in react to get the user address:
and the result in the console:
user.attribute.ethAddress return the user address, but
userAccount are not updated with the useState hook.
EDIT: here is the solution.