Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Canceling SIWE request after switching chains disconnects instead of canceling the chain switch #2257

Open
chris13524 opened this issue May 13, 2024 · 1 comment
Labels
bug Something isn't working needs review

Comments

@chris13524
Copy link
Member

Link to minimal reproducible example

lab.web3modal.com

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs review
Projects
None yet
Development

No branches or pull requests

1 participant