refactored network and token selection

This commit is contained in:
hueso
2024-10-09 21:52:59 -03:00
parent 1f003f19bc
commit e483fd537c
8 changed files with 103 additions and 102 deletions

View File

@@ -33,7 +33,7 @@ export const useEtherStore = defineStore("ether", {
this.selectedToken = token;
},
setNetworkName(networkName: NetworkEnum) {
this.networkName = networkName;
this.networkName = Number(networkName);
},
setLoadingLock(isLoadingLock: boolean) {
this.loadingLock = isLoadingLock;