wagmi v2: disconnect not working (immediately reconnects with another connector) #3537
Replies: 2 comments 2 replies
-
I ended up getting the duplicate eip-6963 connectors with other wallets besides MetaMask. |
Beta Was this translation helpful? Give feedback.
0 replies
-
When you disconnect, Wagmi switches to the next connection if there are any. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sometimes when I call
disconnectAsync
, it immediately reconnects with another automatically injected eip-6963 connector. From a user perspective, it appears that the disconnect button is not doing anything, but really it's switching connectors. Anyone have thoughts on the best way to deal with this?Also, I sometimes get duplicate connectors, which seems unexpected. I assume this may be an issue on the MetaMask side? I guess I should dedupe them manually? I am not using the metaMaskSDK connector because of the undefined mobile provider issue.
Beta Was this translation helpful? Give feedback.
All reactions