You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been locked since it has been closed for more than 14 days.
If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest Wagmi version. If you have any questions or comments you can create a new discussion thread.
Check existing issues
Describe the bug
What I am doing:
What I expected:
The network is added and switched without any errors.
What is actually happening:
switchChainAsync throws an error: User rejected the request.
Details: The user rejected the switch after the network was added.
Version: 2.20.0
Link to Minimal Reproducible Example
https://codesandbox.io/p/sandbox/wagmi-switchchain-6m86q5
Steps To Reproduce
Here is the link: https://codesandbox.io/p/sandbox/wagmi-switchchain-6m86q5
Steps to reproduce the issue:
What Wagmi package(s) are you using?
wagmi
Wagmi Package(s) Version(s)
2.12.7
Viem Version
2.20.0
TypeScript Version
5.5.4
Anything else?
No response
The text was updated successfully, but these errors were encountered: