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

Part of ##18714 Replace deprecated design system typography consts with enums in: confirm-page-container.component.js (#19065)

This commit is contained in:
Harsh Shukla 2023-05-15 23:20:49 +05:30 committed by GitHub
parent 125021e425
commit 8a8c8fad10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ import { INSUFFICIENT_FUNDS_ERROR_KEY } from '../../../helpers/constants/error-k
import { Text } from '../../component-library';
import {
TextVariant,
TEXT_ALIGN,
TextAlign,
} from '../../../helpers/constants/design-system';
import NetworkAccountBalanceHeader from '../network-account-balance-header/network-account-balance-header';
@ -247,7 +247,7 @@ const ConfirmPageContainer = (props) => {
isBuyableChain ? (
<Text
variant={TextVariant.bodySm}
textAlign={TEXT_ALIGN.LEFT}
textAlign={TextAlign.Left}
as="h6"
>
{t('insufficientCurrencyBuyOrDeposit', [
@ -278,7 +278,7 @@ const ConfirmPageContainer = (props) => {
) : (
<Text
variant={TextVariant.bodySm}
textAlign={TEXT_ALIGN.LEFT}
textAlign={TextAlign.Left}
as="h6"
>
{t('insufficientCurrencyDeposit', [