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:
parent
125021e425
commit
8a8c8fad10
@ -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', [
|
||||
|
Loading…
Reference in New Issue
Block a user