useDApp icon indicating copy to clipboard operation
useDApp copied to clipboard

connector.off isn’t a function

Open brothanek opened this issue 5 years ago • 1 comments

After using activate() or activateBrowserWallet() and then deactivate() - after this even activate() triggers this error

This error occurs

image

I would really appreciate some help 🙏

brothanek avatar Nov 17 '21 18:11 brothanek

In the newest useDapp release using web3-react connectors is deprecated and may lead to unexpected behavior. https://usedapp-docs.netlify.app/docs/Guides/Migration/to-1.0.0

I'd suggest to use specified wallet provider like here: https://usedapp-docs.netlify.app/docs/guides/connecting/wallet%20connect/

mj426382 avatar Jun 08 '22 16:06 mj426382