Skip to content

Commit

Permalink
Merge pull request #128 from re2005/fix/update-balance
Browse files Browse the repository at this point in the history
chore: avoid throw error
  • Loading branch information
johnson86tw authored Apr 1, 2023
2 parents 31ad995 + 133cc8e commit eacc577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/composables/useEthers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ async function activate(externalProvider: ExternalProvider) {
const _balance = await signer?.value.getBalance()
balance.value = _balance.toBigInt()
} catch (error: any) {
throw new Error('Failed to update balance')
console.warn('Failed to update balance')
}
}, interval)
}
Expand Down

1 comment on commit eacc577

@vercel
Copy link

@vercel vercel bot commented on eacc577 Apr 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vue-dapp – ./

vuedapp.vercel.app
vue-dapp-chnejohnson.vercel.app
vue-dapp-git-main-chnejohnson.vercel.app

Please sign in to comment.