diff --git a/ui/pages/confirmations/components/smart-transactions-banner-alert/smart-transactions-banner-alert.tsx b/ui/pages/confirmations/components/smart-transactions-banner-alert/smart-transactions-banner-alert.tsx index 0445b0dc44b0..9747a300996a 100644 --- a/ui/pages/confirmations/components/smart-transactions-banner-alert/smart-transactions-banner-alert.tsx +++ b/ui/pages/confirmations/components/smart-transactions-banner-alert/smart-transactions-banner-alert.tsx @@ -1,5 +1,6 @@ import React, { useCallback } from 'react'; import { useSelector, useDispatch } from 'react-redux'; +import { TransactionType } from '@metamask/transaction-controller'; import { useI18nContext } from '../../../../hooks/useI18nContext'; import { BannerAlert, @@ -12,6 +13,7 @@ import { AlertTypes } from '../../../../../shared/constants/alerts'; import { SMART_TRANSACTIONS_LEARN_MORE_URL } from '../../../../../shared/constants/smartTransactions'; import { FontWeight } from '../../../../helpers/constants/design-system'; import { useConfirmContext } from '../../context/confirm'; +import { isCorrectDeveloperTransactionType } from '../../../../../shared/lib/confirmation.utils'; type MarginType = 'default' | 'none' | 'noTop' | 'onlyTop'; @@ -95,13 +97,9 @@ export const SmartTransactionsBannerAlert: React.FC