1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02: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 { useSelector } from 'react-redux';
import { SECONDARY } from '../../../helpers/constants/common'; import { SECONDARY } from '../../../helpers/constants/common';
import { import { Color, TextVariant } from '../../../helpers/constants/design-system';
Color,
FONT_WEIGHT,
TextVariant,
} from '../../../helpers/constants/design-system';
import { isNFTAssetStandard } from '../../../helpers/utils/transactions.util'; import { isNFTAssetStandard } from '../../../helpers/utils/transactions.util';
import { getShouldShowFiat } from '../../../selectors'; import { getShouldShowFiat } from '../../../selectors';
import { useTransactionInfo } from '../../../hooks/useTransactionInfo'; import { useTransactionInfo } from '../../../hooks/useTransactionInfo';
@ -35,7 +31,6 @@ const ConfirmSubTitle = ({
<Text <Text
as="h5" as="h5"
ellipsis ellipsis
fontWeight={FONT_WEIGHT.NORMAL}
variant={TextVariant.bodyMd} variant={TextVariant.bodyMd}
color={Color.textAlternative} color={Color.textAlternative}
> >