I did this:
if (!isWeb3Enabled && !isWeb3EnableLoading) {
enableWeb3()
}
and i receive this error
Missing web3 instance, make sure to call Moralis.enableWeb3() or Moralis.authenticate()
I did this:
if (!isWeb3Enabled && !isWeb3EnableLoading) {
enableWeb3()
}
and i receive this error
Missing web3 instance, make sure to call Moralis.enableWeb3() or Moralis.authenticate()
you can post in that thread then
so if you delete this part the error will be gone? also btw you put this in useEffect
right?
Ok, I solved it by putting this
if (!isWeb3Enabled && !isWeb3EnableLoading) {
enableWeb3()
}
in my Nav component , which each page contains.
Thanks guys and have a nice day.