1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Part of #18714: Replacing Typography consts with enums (#19013)

Co-authored-by: George Marshall <george.marshall@consensys.net>
This commit is contained in:
Dhruv 2023-05-05 17:47:22 +05:30 committed by GitHub
parent 319696b4ef
commit 69132e7785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ import Box from '../../ui/box/box';
import { import {
Color, Color,
TextVariant, TextVariant,
TEXT_ALIGN, TextAlign,
} from '../../../helpers/constants/design-system'; } from '../../../helpers/constants/design-system';
import { useI18nContext } from '../../../hooks/useI18nContext'; import { useI18nContext } from '../../../hooks/useI18nContext';
import { MetaMetricsContext } from '../../../contexts/metametrics'; import { MetaMetricsContext } from '../../../contexts/metametrics';
@ -146,7 +146,7 @@ const AssetList = ({ onClickAsset }) => {
color={Color.textAlternative} color={Color.textAlternative}
variant={TextVariant.bodySm} variant={TextVariant.bodySm}
as="h6" as="h6"
textAlign={TEXT_ALIGN.CENTER} textAlign={TextAlign.Center}
> >
{t('missingToken')} {t('missingToken')}
</Text> </Text>