Skip to content

Commit

Permalink
Fix: mobile pairing check
Browse files Browse the repository at this point in the history
  • Loading branch information
katspaugh committed Jul 31, 2023
1 parent c455163 commit 8d058c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/pairing/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const killPairingSession = (connector: InstanceType<typeof WalletConnect>
}

export const isPairingSupported = (disabledWallets?: string[]) => {
return !!disabledWallets?.length && !disabledWallets.includes(CGW_NAMES[WALLET_KEYS.PAIRING] as string)
return disabledWallets && !disabledWallets.includes(CGW_NAMES[WALLET_KEYS.PAIRING] as string)
}

export const _isPairingSessionExpired = (session: IWalletConnectSession): boolean => {
Expand Down

0 comments on commit 8d058c4

Please sign in to comment.