Skip to content

Commit

Permalink
fix: wallet status error, resolve vu3th#77
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson86tw committed Aug 24, 2022
1 parent d8b5783 commit b675187
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/composables/useWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export function useWallet(options: useWalletOptions = { useEthers: true }) {
} catch (err: any) {
await disconnect() // will also clearWallet()
wallet.error = err.message
return
}

wallet.status = 'connected'
Expand Down

0 comments on commit b675187

Please sign in to comment.