Open swisstackle opened 2 years ago
Make sure it is possible to switch accounts. At the moment the account object in App.js always uses the first contract and when you switch the account in metamask, the object doesnt change to the new account.
https://stackoverflow.com/questions/71593572/web3js-intercepting-when-metamask-connects-manually/71596166#71596166
I got the answer to my question on stackoverflow
Make sure it is possible to switch accounts. At the moment the account object in App.js always uses the first contract and when you switch the account in metamask, the object doesnt change to the new account.