fix: walletconnect modal re-open after user rejection (#2693)
Co-authored-by: M0kY <moky@example.com>
This commit is contained in:
parent
02dbed7a75
commit
5026ebded8
@ -195,7 +195,7 @@ export default function WalletModal({
|
||||
setWalletView(WALLET_VIEWS.PENDING)
|
||||
|
||||
// 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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user