I have been following the twitter clone tutorial on youtube using react-moralis.
However, if I log in as a non-crypto user, I get the following error:
Iāve tried both methods of using āgetā and the āuser.attributes.usernameā as shown in the video. Both get me the same error.
The strange thing is, when I refresh the page, everything works normally. Itās like itās taking me to the authenticated page without finalising authentication. I assume I need to āawaitā authentication or something but the youtube tutorial doesnāt show this and it works perfectly on the tutorial. Have I missed something?