mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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 { Text } from '../../component-library';
|
||||||
import {
|
import {
|
||||||
TextVariant,
|
TextVariant,
|
||||||
TEXT_ALIGN,
|
TextAlign,
|
||||||
} from '../../../helpers/constants/design-system';
|
} from '../../../helpers/constants/design-system';
|
||||||
|
|
||||||
import NetworkAccountBalanceHeader from '../network-account-balance-header/network-account-balance-header';
|
import NetworkAccountBalanceHeader from '../network-account-balance-header/network-account-balance-header';
|
||||||
@ -247,7 +247,7 @@ const ConfirmPageContainer = (props) => {
|
|||||||
isBuyableChain ? (
|
isBuyableChain ? (
|
||||||
<Text
|
<Text
|
||||||
variant={TextVariant.bodySm}
|
variant={TextVariant.bodySm}
|
||||||
textAlign={TEXT_ALIGN.LEFT}
|
textAlign={TextAlign.Left}
|
||||||
as="h6"
|
as="h6"
|
||||||
>
|
>
|
||||||
{t('insufficientCurrencyBuyOrDeposit', [
|
{t('insufficientCurrencyBuyOrDeposit', [
|
||||||
@ -278,7 +278,7 @@ const ConfirmPageContainer = (props) => {
|
|||||||
) : (
|
) : (
|
||||||
<Text
|
<Text
|
||||||
variant={TextVariant.bodySm}
|
variant={TextVariant.bodySm}
|
||||||
textAlign={TEXT_ALIGN.LEFT}
|
textAlign={TextAlign.Left}
|
||||||
as="h6"
|
as="h6"
|
||||||
>
|
>
|
||||||
{t('insufficientCurrencyDeposit', [
|
{t('insufficientCurrencyDeposit', [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user