We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There seems to be an error in the documentation in the Actions section for JavaScript (wagmi). Link: DOC
Specifically in the Disconnect section:
modal.disconnect()
The issue is that modal does not have a disconnect method. Previously, disconnect was implemented using wagmi as follows:
import { disconnect } from '@wagmi/core';
I might be mistaken, and I would be happy to hear your response. Thank you!
The text was updated successfully, but these errors were encountered:
Additional Comment:
I found the ConnectionController which contains a disconnect method. Therefore, we can do something like this:
await ConnectionController.disconnect();
Would this be the correct approach? Or is there a better way to handle the disconnect?
Also, the documentation lacks methods for tracking connection status, loading states, and the account. It would be helpful to add these.
Sorry, something went wrong.
Error already know an reported . thanks https://linear.app/reown/issue/APKT-1045/[bug]-disconnect-is-not-expose
meanwhile you can use modal.adapter?.connectionControllerClient?.disconnect()
modal.adapter?.connectionControllerClient?.disconnect()
No branches or pull requests
Describe the bug
There seems to be an error in the documentation in the Actions section for JavaScript (wagmi).
Link: DOC
Specifically in the Disconnect section:
The issue is that modal does not have a disconnect method. Previously, disconnect was implemented using wagmi as follows:
I might be mistaken, and I would be happy to hear your response.
Thank you!
The text was updated successfully, but these errors were encountered: