mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Fix approve all warning modal (#18613)
* Fix approve all warning modal * fix * fix * fix
This commit is contained in:
parent
3cc82898a6
commit
600909418c
@ -105,7 +105,7 @@ const SetApproveForAllWarning = ({
|
||||
key="non_custodial_bold"
|
||||
className="set-approval-for-all-warning__content__bold"
|
||||
>
|
||||
{t('nftWarningContentBold', [collectionName])}
|
||||
{t('nftWarningContentBold', [collectionName || ''])}
|
||||
</strong>,
|
||||
<strong key="non_custodial_grey">
|
||||
{t('nftWarningContentGrey')}
|
||||
|
@ -144,6 +144,7 @@ export default function ConfirmApprove({
|
||||
|
||||
const { iconUrl: siteImage = '' } = subjectMetadata[origin] || {};
|
||||
|
||||
// Code below may need a additional look as ERC1155 tokens do not have a name
|
||||
let tokensText;
|
||||
if (
|
||||
assetStandard === TokenStandard.ERC721 ||
|
||||
|
@ -950,6 +950,7 @@ export default class ConfirmTransactionBase extends Component {
|
||||
image,
|
||||
isApprovalOrRejection,
|
||||
assetStandard,
|
||||
title,
|
||||
} = this.props;
|
||||
const {
|
||||
submitting,
|
||||
@ -1010,6 +1011,7 @@ export default class ConfirmTransactionBase extends Component {
|
||||
showEdit={!isContractInteractionFromDapp && Boolean(onEdit)}
|
||||
action={functionType}
|
||||
image={image}
|
||||
title={title}
|
||||
titleComponent={this.renderTitleComponent()}
|
||||
subtitleComponent={this.renderSubtitleComponent()}
|
||||
detailsComponent={this.renderDetails()}
|
||||
|
Loading…
Reference in New Issue
Block a user