Skip to content

Commit bb9aceb

Browse files
committed
Comment ledger rlogin provider inclusion on the app
1 parent d8360ec commit bb9aceb

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/common/utils/rlogin.ts

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,11 @@ export function getRloginInstance(features: Array<Feature>): RLogin {
5353
rpcUrls,
5454
supportedChains,
5555
};
56-
const ledgerFeature = features.find((feature) => feature.name === FeatureNames.WALLET_LEDGER);
57-
if (ledgerFeature?.value === constants.ENABLED
58-
&& ledgerFeature.supportedBrowsers[currentBrowser.toLowerCase() as keyof SupportedBrowsers]) {
59-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
60-
// @ts-ignore
61-
rLoginOptions.providerOptions['custom-ledger'] = customLedgerProviderOptions;
62-
}
56+
// const ledgerFeature = features.find((feature) => feature.name === FeatureNames.WALLET_LEDGER);
57+
// if (ledgerFeature?.value === constants.ENABLED
58+
// && ledgerFeature.supportedBrowsers[currentBrowser.toLowerCase() as keyof SupportedBrowsers]) {
59+
// rLoginOptions.providerOptions['custom-ledger'] = customLedgerProviderOptions;
60+
// }
6361
const trezorFeature = features.find((feature) => feature.name === FeatureNames.WALLET_TREZOR);
6462
if (trezorFeature?.value === constants.ENABLED
6563
&& trezorFeature.supportedBrowsers[currentBrowser.toLowerCase() as keyof SupportedBrowsers]) {

0 commit comments

Comments
 (0)