mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Fixing EditGasDisplay console errors (#11797)
This commit is contained in:
parent
6059f997f7
commit
504e74fbed
@ -140,5 +140,5 @@ AdvancedGasControls.propTypes = {
|
||||
maxPriorityFeeFiat: PropTypes.string,
|
||||
maxFeeFiat: PropTypes.string,
|
||||
gasErrors: PropTypes.object,
|
||||
minimumGasLimit: PropTypes.number,
|
||||
minimumGasLimit: PropTypes.string,
|
||||
};
|
||||
|
@ -312,7 +312,7 @@ EditGasDisplay.propTypes = {
|
||||
gasErrors: PropTypes.object,
|
||||
gasWarnings: PropTypes.object,
|
||||
onManualChange: PropTypes.func,
|
||||
minimumGasLimit: PropTypes.number,
|
||||
minimumGasLimit: PropTypes.string,
|
||||
balanceError: PropTypes.bool,
|
||||
estimatesUnavailableWarning: PropTypes.bool,
|
||||
hasGasErrors: PropTypes.bool,
|
||||
|
@ -309,6 +309,7 @@ export default class ConfirmTransactionBase extends Component {
|
||||
return (
|
||||
<UserPreferencedCurrencyDisplay
|
||||
type={PRIMARY}
|
||||
key="total-max-amount"
|
||||
value={addHexes(txData.txParams.value, hexMaximumTransactionFee)}
|
||||
hideLabel={!useNativeCurrencyAsPrimaryCurrency}
|
||||
/>
|
||||
@ -329,6 +330,7 @@ export default class ConfirmTransactionBase extends Component {
|
||||
return (
|
||||
<UserPreferencedCurrencyDisplay
|
||||
type={PRIMARY}
|
||||
key="total-detail-value"
|
||||
value={hexTransactionTotal}
|
||||
hideLabel={!useNativeCurrencyAsPrimaryCurrency}
|
||||
/>
|
||||
@ -347,6 +349,7 @@ export default class ConfirmTransactionBase extends Component {
|
||||
return (
|
||||
<UserPreferencedCurrencyDisplay
|
||||
type={SECONDARY}
|
||||
key="total-detail-text"
|
||||
value={hexTransactionTotal}
|
||||
hideLabel={Boolean(useNativeCurrencyAsPrimaryCurrency)}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user