Skip to content

Instantly share code, notes, and snippets.

@GeoffMahugu
Created December 13, 2021 17:06
Show Gist options
  • Save GeoffMahugu/ea9e5ad3b564b44ed50dabcc3f3d2885 to your computer and use it in GitHub Desktop.
Save GeoffMahugu/ea9e5ad3b564b44ed50dabcc3f3d2885 to your computer and use it in GitHub Desktop.
This the disconnect function of the react web3
async function disconnect() {
try {
deactivate()
} catch (ex) {
console.log(ex)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment