Data in question that does not get reseted and cleared are the attributes from useMoralis()
. account, user, isAuthenticated
are still the same even after the Moralis.User.logOut()
is called.
Even though Moralis.User.current()
returns correct data for user at least.
Is that by design?
Of course on a full refresh of the page, the attributes in question are set to their initial value.