Refactor codes
This commit is contained in:
@@ -50,10 +50,10 @@ export default {
|
||||
this.setIsConnectWallet(false)
|
||||
}
|
||||
},
|
||||
|
||||
async getBalance () {
|
||||
if (this.myaddress) {
|
||||
const balance = await this.klaytn.getBalance(this.myaddress)
|
||||
console.log(this.myaddress, balance)
|
||||
const balance = await this.klaytn.getBalance(this.myaddress)
|
||||
this.setBalance(balance)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user