add change account event listener
This commit is contained in:
1 parent
097837ddee
commit
fefebcf91e
3 files changed
+12
-7
No files matched your search
@@ -8,7 +8,7 @@ const etherStore = useEtherStore();
|
||||
const { walletAddress } = storeToRefs(etherStore);
|
||||
|
||||
const connectMetaMask = () => {
|
||||
ethers.getProvider();
|
||||
ethers.connectProvider();
|
||||
};
|
||||
|
||||
const formatWalletAddress = (): string => {
|
||||
|
||||
Reference in new issue
Block a user