This commit is contained in:
Georges KABBOUCHI 2021-08-29 01:51:48 +03:00
parent cc8faf253d
commit 74ce6d7a55
2 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@kabbouchi/vue-web3",
"version": "0.2.10",
"version": "0.2.11",
"description": "Vue web3 composition api",
"license": "MIT",
"main": "dist/cjs/index.js",

View File

@ -80,6 +80,11 @@ export const useWeb3 = () => {
}
const handleUpdate = async (update: ConnectorUpdate): Promise<void> => {
if (error.value) {
deactivate()
return
}
if (update.provider) {
provider.value = update.provider
}