From dbeb0a2515255fc49983ba85659aa0c6affe18b6 Mon Sep 17 00:00:00 2001 From: reslear Date: Mon, 9 May 2022 18:42:34 +0300 Subject: [PATCH] refactor: clearCachedProvider not promise --- example.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.js b/example.js index 60feb18..abd0c9a 100644 --- a/example.js +++ b/example.js @@ -200,7 +200,7 @@ async function onDisconnect() { // WalletConnect will default to the existing session // and does not allow to re-scan the QR code with a new wallet. // Depending on your use case you may want or want not his behavir. - await web3Modal.clearCachedProvider(); + web3Modal.clearCachedProvider(); provider = null; }