diff --git a/package.json b/package.json index 4092490..dee669b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kabbouchi/vue-web3", - "version": "0.2.11", + "version": "0.2.12", "description": "Vue web3 composition api", "license": "MIT", "main": "dist/cjs/index.js", diff --git a/src/index.ts b/src/index.ts index bd096a7..5181523 100644 --- a/src/index.ts +++ b/src/index.ts @@ -81,7 +81,7 @@ export const useWeb3 = () => { const handleUpdate = async (update: ConnectorUpdate): Promise => { if (error.value) { - deactivate() + error.value = undefined return }