Commit 5026ebde authored by M0kY's avatar M0kY Committed by GitHub

fix: walletconnect modal re-open after user rejection (#2693)

Co-authored-by: default avatarM0kY <moky@example.com>
parent 02dbed7a
...@@ -195,7 +195,7 @@ export default function WalletModal({ ...@@ -195,7 +195,7 @@ export default function WalletModal({
setWalletView(WALLET_VIEWS.PENDING) setWalletView(WALLET_VIEWS.PENDING)
// if the connector is walletconnect and the user has already tried to connect, manually reset the connector // if the connector is walletconnect and the user has already tried to connect, manually reset the connector
if (connector instanceof WalletConnectConnector && connector.walletConnectProvider?.wc?.uri) { if (connector instanceof WalletConnectConnector) {
connector.walletConnectProvider = undefined connector.walletConnectProvider = undefined
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment