File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,11 @@ export function getRloginInstance(features: Array<Feature>): RLogin {
53
53
rpcUrls,
54
54
supportedChains,
55
55
} ;
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
+ // }
63
61
const trezorFeature = features . find ( ( feature ) => feature . name === FeatureNames . WALLET_TREZOR ) ;
64
62
if ( trezorFeature ?. value === constants . ENABLED
65
63
&& trezorFeature . supportedBrowsers [ currentBrowser . toLowerCase ( ) as keyof SupportedBrowsers ] ) {
You can’t perform that action at this time.
0 commit comments