walletconnect-monorepo
walletconnect-monorepo copied to clipboard
Different Events in mobile and desktop
Describe the bug
If we try to write our logic based on this equality our logic will only work if this runs only on dekstop:
web3ModalEvents.event === "CONNECT_SUCCESS"
and in mobile version SELECT_WALLET will be fired
To Reproduce Create a simple react app with walletconnect/ethers5 and add useWeb3ModalEvents and check the event on mobile and desktop