liming 1 kuukausi sitten
vanhempi
sitoutus
2c12f82678
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/stores/modules/walletStore.js

+ 1 - 1
src/stores/modules/walletStore.js

@@ -96,8 +96,8 @@ export const useWalletStore = defineStore("useWalletStore", {
         this.isAuthenticated = true;
         this.chainId = `${await web3.eth.getChainId()}n`;
         this.id = `${this.account}@${this.accountName}`
-        this.addWallet()
         await sysLogin(this.account)
+        this.addWallet()
         return {
           address: account.address,
           chainId: this.chainId,