Created
December 13, 2021 17:06
-
-
Save GeoffMahugu/ea9e5ad3b564b44ed50dabcc3f3d2885 to your computer and use it in GitHub Desktop.
This the disconnect function of the react web3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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