Create different label for Gas Price with GWEI included (#11526)

feature/default_network_editable
David Walsh 3 years ago committed by GitHub
parent c241d3150c
commit 1665617378
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      app/_locales/en/messages.json
  2. 2
      ui/components/app/advanced-gas-controls/advanced-gas-controls.component.js
  3. 2
      ui/components/app/transaction-breakdown/transaction-breakdown.component.js

@ -103,6 +103,9 @@
"advanced": {
"message": "Advanced"
},
"advancedGasPriceTitle": {
"message": "Gas price"
},
"advancedOptions": {
"message": "Advanced Options"
},

@ -149,7 +149,7 @@ export default function AdvancedGasControls({
) : (
<>
<FormField
titleText={t('gasPrice')}
titleText={t('advancedGasPriceTitle')}
titleUnit="(GWEI)"
onChange={(value) => {
setGasPrice(value);

@ -124,7 +124,7 @@ export default class TransactionBreakdown extends PureComponent {
</TransactionBreakdownRow>
)}
{!process.env.SHOW_EIP_1559_UI && (
<TransactionBreakdownRow title={t('gasPrice')}>
<TransactionBreakdownRow title={t('advancedGasPriceTitle')}>
{typeof gasPrice === 'undefined' ? (
'?'
) : (

Loading…
Cancel
Save