-
-
Notifications
You must be signed in to change notification settings - Fork 939
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
When connect to metaMask, got onError triggered before user doing something in wallet. #3943
Comments
Minimal reproduction is not accessible.
|
Hello @zslucky. Please provide a minimal reproduction using StackBlitz, TypeScript Playground (for type issues), or a separate minimal GitHub repository. Minimal reproductions are required as they save us a lot of time reproducing your config & environment, and trying to reproduce your issue. See Why reproductions are required. Please reopen this issue when a reproduction is added. |
This error is thrown directly by the MM extension when there is already a connect pending (e.g. |
But seems I did nothing... |
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. |
Describe the bug
Link to Minimal Reproducible Example
https://codesandbox.io/p/devbox/busy-sinoussi-vg29c7?file=%2Fsrc%2Fcontainers%2FDemo.jsx%3A16%2C1
Steps To Reproduce
Connect
button.you will see the
onError
andonSettled
triggered before user do something.Wagmi Version
2.9.2
Viem Version
2.10.9
TypeScript Version
5.36.2
Check existing issues
Anything else?
everything is ok for
walletconnect
, but not ok for metaMask web extension.The text was updated successfully, but these errors were encountered: