1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Added code fences (#18872)

This commit is contained in:
Albert Olivé 2023-05-01 15:59:35 +02:00 committed by GitHub
parent 7b323b8a30
commit 8193a4999c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,6 +290,11 @@ export default class ConfirmApproveContent extends Component {
renderDataContent() {
const { t } = this.context;
const { data, isSetApproveForAll, isApprovalOrRejection } = this.props;
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
const { tokenAddress } = this.props;
///: END:ONLY_INCLUDE_IN
return (
<div className="flex-column">
<div className="confirm-approve-content__small-text">
@ -300,6 +305,11 @@ export default class ConfirmApproveContent extends Component {
{isSetApproveForAll && isApprovalOrRejection !== undefined ? (
<div className="confirm-approve-content__small-text">
{`${t('parameters')}: ${isApprovalOrRejection}`}
{
///: BEGIN:ONLY_INCLUDE_IN(build-mmi)
`${t('tokenContractAddress')}: ${tokenAddress}`
///: END:ONLY_INCLUDE_IN
}
</div>
) : null}
<div className="confirm-approve-content__small-text confirm-approve-content__data__data-block">