1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Using translation for edit text (#11514)

This commit is contained in:
David Walsh 2021-07-13 14:22:33 -05:00 committed by GitHub
parent 97d9cdff80
commit 90180627cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -414,7 +414,7 @@ export default class ConfirmTransactionBase extends Component {
<ConfirmDetailRow <ConfirmDetailRow
label={t('gasFee')} label={t('gasFee')}
value={hexTransactionFee} value={hexTransactionFee}
headerText={showGasEditButton ? 'Edit' : ''} headerText={showGasEditButton ? t('edit') : ''}
headerTextClassName={ headerTextClassName={
showGasEditButton ? 'confirm-detail-row__header-text--edit' : '' showGasEditButton ? 'confirm-detail-row__header-text--edit' : ''
} }