From 0e5d3bfa23a09b3cce75ccca47da18dc23567ced Mon Sep 17 00:00:00 2001 From: Noah Zinsmeister Date: Thu, 24 Feb 2022 13:29:28 -0500 Subject: [PATCH] cancel activation for walletconnect/walletlink --- packages/walletconnect/src/index.ts | 2 ++ packages/walletlink/src/index.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/walletconnect/src/index.ts b/packages/walletconnect/src/index.ts index 4fd2e6fd6..2e2e0ec1c 100644 --- a/packages/walletconnect/src/index.ts +++ b/packages/walletconnect/src/index.ts @@ -114,6 +114,8 @@ export class WalletConnect extends Connector { console.debug('Could not connect eagerly', error) cancelActivation() } + } else { + cancelActivation() } } diff --git a/packages/walletlink/src/index.ts b/packages/walletlink/src/index.ts index e26f8f407..571277d9b 100644 --- a/packages/walletlink/src/index.ts +++ b/packages/walletlink/src/index.ts @@ -90,6 +90,8 @@ export class WalletLink extends Connector { console.debug('Could not connect eagerly', error) cancelActivation() }) + } else { + cancelActivation() } }