This commit is contained in:
Georges KABBOUCHI 2021-08-29 02:49:51 +03:00
parent 1f689f6f19
commit 9cbd0ccffb
2 changed files with 6 additions and 1 deletions

View File

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

View File

@ -85,6 +85,11 @@ export const useWeb3 = () => {
return return
} }
if (!connector.value) {
handleDeactivate()
return
}
const cId = const cId =
update.chainId === undefined update.chainId === undefined
? undefined ? undefined