From bb9aceb6b943dd1ab7b3f2ebffd5f65275d756c2 Mon Sep 17 00:00:00 2001 From: ronaldsg Date: Thu, 16 Jan 2025 12:10:59 -0500 Subject: [PATCH] Comment ledger rlogin provider inclusion on the app --- src/common/utils/rlogin.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/src/common/utils/rlogin.ts b/src/common/utils/rlogin.ts index 2395d7f6..eab7e9d6 100644 --- a/src/common/utils/rlogin.ts +++ b/src/common/utils/rlogin.ts @@ -53,13 +53,11 @@ export function getRloginInstance(features: Array): RLogin { rpcUrls, supportedChains, }; - const ledgerFeature = features.find((feature) => feature.name === FeatureNames.WALLET_LEDGER); - if (ledgerFeature?.value === constants.ENABLED - && ledgerFeature.supportedBrowsers[currentBrowser.toLowerCase() as keyof SupportedBrowsers]) { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - rLoginOptions.providerOptions['custom-ledger'] = customLedgerProviderOptions; - } + // const ledgerFeature = features.find((feature) => feature.name === FeatureNames.WALLET_LEDGER); + // if (ledgerFeature?.value === constants.ENABLED + // && ledgerFeature.supportedBrowsers[currentBrowser.toLowerCase() as keyof SupportedBrowsers]) { + // rLoginOptions.providerOptions['custom-ledger'] = customLedgerProviderOptions; + // } const trezorFeature = features.find((feature) => feature.name === FeatureNames.WALLET_TREZOR); if (trezorFeature?.value === constants.ENABLED && trezorFeature.supportedBrowsers[currentBrowser.toLowerCase() as keyof SupportedBrowsers]) {