diff --git a/ui/components/app/signature-request/signature-request.component.js b/ui/components/app/signature-request/signature-request.component.js index b1b40b283..b59f91c46 100644 --- a/ui/components/app/signature-request/signature-request.component.js +++ b/ui/components/app/signature-request/signature-request.component.js @@ -1,7 +1,7 @@ import React, { PureComponent } from 'react'; import { memoize } from 'lodash'; import PropTypes from 'prop-types'; -import LedgerInstructionField from '../ledger-instruction-field'; +// import LedgerInstructionField from '../ledger-instruction-field'; import { sanitizeMessage, getURLHostName } from '../../../helpers/utils/util'; import { EVENT } from '../../../../shared/constants/metametrics'; import SiteOrigin from '../../ui/site-origin'; @@ -43,7 +43,7 @@ export default class SignatureRequest extends PureComponent { /** * Check if the wallet is ledget wallet or not */ - isLedgerWallet: PropTypes.bool, + // isLedgerWallet: PropTypes.bool, /** * Handler for cancel button */ @@ -154,7 +154,7 @@ export default class SignatureRequest extends PureComponent { fromAccount: { address, balance, name }, cancel, sign, - isLedgerWallet, + // isLedgerWallet, hardwareWalletRequiresConnection, chainId, rpcPrefs, @@ -302,11 +302,11 @@ export default class SignatureRequest extends PureComponent { ) : null} - {isLedgerWallet ? ( + {/* {isLedgerWallet ? (
- ) : null} + ) : null} */} this.setState({ hasScrolledMessage: true })} diff --git a/ui/pages/confirm-transaction-base/confirm-transaction-base.container.js b/ui/pages/confirm-transaction-base/confirm-transaction-base.container.js index 12078cc87..7b4ceb29e 100644 --- a/ui/pages/confirm-transaction-base/confirm-transaction-base.container.js +++ b/ui/pages/confirm-transaction-base/confirm-transaction-base.container.js @@ -41,7 +41,7 @@ import { } from '../../selectors'; import { getMostRecentOverviewPage } from '../../ducks/history/history'; import { - isAddressLedger, + // isAddressLedger, updateGasFees, getIsGasEstimatesLoading, getNativeCurrency, @@ -197,7 +197,7 @@ const mapStateToProps = (state, ownProps) => { const gasFeeIsCustom = fullTxData.userFeeLevel === CUSTOM_GAS_ESTIMATE || txParamsAreDappSuggested(fullTxData); - const fromAddressIsLedger = isAddressLedger(state, fromAddress); + // const fromAddressIsLedger = isAddressLedger(state, fromAddress); const nativeCurrency = getNativeCurrency(state); const hardwareWalletRequiresConnection = @@ -250,7 +250,7 @@ const mapStateToProps = (state, ownProps) => { maxPriorityFeePerGas: gasEstimationObject.maxPriorityFeePerGas, baseFeePerGas: gasEstimationObject.baseFeePerGas, gasFeeIsCustom, - showLedgerSteps: fromAddressIsLedger, + showLedgerSteps: false, nativeCurrency, hardwareWalletRequiresConnection, isMultiLayerFeeNetwork,