1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01: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
label={t('gasFee')}
value={hexTransactionFee}
headerText={showGasEditButton ? 'Edit' : ''}
headerText={showGasEditButton ? t('edit') : ''}
headerTextClassName={
showGasEditButton ? 'confirm-detail-row__header-text--edit' : ''
}