Created
December 13, 2021 16:13
-
-
Save GeoffMahugu/9fbf227f5c0cd96599a39f6ce9fc5753 to your computer and use it in GitHub Desktop.
Connect to web3 react app
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 connect() { | |
try { | |
await activate(injected); | |
} catch (ex) { | |
console.log(ex) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment