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]) {