add change account event listener

This commit is contained in:
RcleydsonR
2022-11-16 01:29:06 -03:00
parent 097837ddee
commit fefebcf91e
3 changed files with 12 additions and 7 deletions

View File

@@ -8,7 +8,7 @@ const etherStore = useEtherStore();
const { walletAddress } = storeToRefs(etherStore);
const connectMetaMask = () => {
ethers.getProvider();
ethers.connectProvider();
};
const formatWalletAddress = (): string => {