Skip to content

Commit aea3fe3

Browse files
authored
Merge pull request #69 from re2005/main
Avoid uncaught error when user closes the WalletConnect QR modal.
2 parents 7a99cb7 + 0c9c2e5 commit aea3fe3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/composables/useWallet.ts

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ export function useWallet(options: useWalletOptions = { useEthers: true }) {
7676
} catch (err: any) {
7777
await disconnect() // will also clearWallet()
7878
wallet.error = err.message
79-
throw new Error(err)
8079
}
8180

8281
wallet.status = 'connected'

0 commit comments

Comments
 (0)