Open bkbooth opened 2 years ago
If Ethereum provider is a class, spreading it onto a new object won't copy methods to the new object
Fixes #10
I've tested this fix locally and switching networks via the AnySwap UI works as expected with the injected provider from our wallet, and still works as expected with MetaMask.
If Ethereum provider is a class, spreading it onto a new object won't copy methods to the new object
Fixes #10