set theme colors

This commit is contained in:
liangping
2023-06-09 12:01:51 +08:00
parent 92b08fa35f
commit eaf28a6fd5
6 changed files with 5 additions and 2 deletions
-2
View File
@@ -28,11 +28,9 @@ export const useWalletStore = defineStore('walletStore', {
connectedWallet() {
// @ts-ignore
if(this.wallet.cosmosAddress) return this.wallet
console.log("orrect", this.wallet)
const chainStore = useBlockchain();
const key = chainStore.defaultHDPath;
const connected = JSON.parse(localStorage.getItem(key) || '{}');
console.log("connected:", connected)
return connected
},
balanceOfStakingToken(): Coin {