1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Part of #18714: Replacing deprecated constants in confirm-subtitle folder (#19699)

* repalcing deprecated constants

* resolve issue

* lint fixes

---------

Co-authored-by: georgewrmarshall <george.marshall@consensys.net>
This commit is contained in:
rohit kerkar 2023-06-27 08:05:45 +05:30 committed by GitHub
parent 04839a250d
commit deabc3ed5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,11 +3,7 @@ import PropTypes from 'prop-types';
import { useSelector } from 'react-redux';
import { SECONDARY } from '../../../helpers/constants/common';
import {
Color,
FONT_WEIGHT,
TextVariant,
} from '../../../helpers/constants/design-system';
import { Color, TextVariant } from '../../../helpers/constants/design-system';
import { isNFTAssetStandard } from '../../../helpers/utils/transactions.util';
import { getShouldShowFiat } from '../../../selectors';
import { useTransactionInfo } from '../../../hooks/useTransactionInfo';
@ -35,7 +31,6 @@ const ConfirmSubTitle = ({
<Text
as="h5"
ellipsis
fontWeight={FONT_WEIGHT.NORMAL}
variant={TextVariant.bodyMd}
color={Color.textAlternative}
>