web3modal
web3modal copied to clipboard
[improvement] Canceling SIWE request after switching chains should return to connected network instead of disconnect
Summary
If I'm using SIWE and I switch chains, it will prompt for another signature. However, if I hit cancel it will disconnect the wallet.
This is expected behavior if I had just connected my wallet, but I was switching chains.
List of related npm package versions
latest
I can still reproduce this on latest