[SOLVED] How to undo to default after set Moralis.Web3.setEnableWeb3(customprovider)

How to undo to default after set Moralis.Web3.setEnableWeb3(customprovider).

1 Like

Hi @sukitc

Try to use this:

setEnableWeb3(null)

Let me know how it will work for you

1 Like

If you specified deactivate method in your custom provider you also can use Moralis.cleanup()

1 Like

It work. thank you @Yomoo