diff --git a/ui/pages/confirmations/components/confirm/info/set-approval-for-all-info/set-approval-for-all-static-simulation/set-approval-for-all-static-simulation.tsx b/ui/pages/confirmations/components/confirm/info/set-approval-for-all-info/set-approval-for-all-static-simulation/set-approval-for-all-static-simulation.tsx index 8a502ccb26bf..89686f4faa7d 100644 --- a/ui/pages/confirmations/components/confirm/info/set-approval-for-all-info/set-approval-for-all-static-simulation/set-approval-for-all-static-simulation.tsx +++ b/ui/pages/confirmations/components/confirm/info/set-approval-for-all-info/set-approval-for-all-static-simulation/set-approval-for-all-static-simulation.tsx @@ -1,7 +1,6 @@ import { NameType } from '@metamask/name-controller'; import { TransactionMeta } from '@metamask/transaction-controller'; import React from 'react'; -import { ConfirmInfoRow } from '../../../../../../../components/app/confirm/info/row'; import Name from '../../../../../../../components/app/name'; import { Box, Text } from '../../../../../../../components/component-library'; import { @@ -24,32 +23,28 @@ export const SetApprovalForAllStaticSimulation = () => { }; const SetApprovalForAllRow = ( - - - - - - {t('all')} - - - - + + + + {t('all')} + - + + ); const simulationElements = SetApprovalForAllRow; @@ -59,6 +54,7 @@ export const SetApprovalForAllStaticSimulation = () => { title={t('simulationDetailsTitle')} titleTooltip={t('simulationDetailsTitleTooltip')} description={t('simulationDetailsSetApprovalForAllDesc')} + simulationHeading={t('withdrawing')} simulationElements={simulationElements} /> ); diff --git a/ui/pages/confirmations/utils/confirm.ts b/ui/pages/confirmations/utils/confirm.ts index a3f79c1e9964..720b5d88574d 100644 --- a/ui/pages/confirmations/utils/confirm.ts +++ b/ui/pages/confirmations/utils/confirm.ts @@ -23,6 +23,7 @@ export const REDESIGN_USER_TRANSACTION_TYPES = [ export const REDESIGN_DEV_TRANSACTION_TYPES = [ ...REDESIGN_USER_TRANSACTION_TYPES, + TransactionType.tokenMethodApprove, TransactionType.tokenMethodSetApprovalForAll, ];