-
Couldn't load subscription status.
- Fork 3.3k
-
Why we don't use the isAuthUndefined from Moralis to define if the user is connected to the website?
Instead of LocalStorage we probably can use just:
useEffect(() => {
if (isWeb3Enabled) return;
if (isAuthUndefined){ enableWeb3()}
}, [isWeb3Enabled]);
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment