diff --git a/ui/components/app/confirm-page-container/snaps/snap-insight.js b/ui/components/app/confirm-page-container/snaps/snap-insight.js index 703bcff67..d7fc925d7 100644 --- a/ui/components/app/confirm-page-container/snaps/snap-insight.js +++ b/ui/components/app/confirm-page-container/snaps/snap-insight.js @@ -8,7 +8,7 @@ import { AlignItems, FLEX_DIRECTION, JustifyContent, - TEXT_ALIGN, + TextAlign, TextColor, TextVariant, } from '../../../../helpers/constants/design-system'; @@ -53,7 +53,7 @@ export const SnapInsight = ({ transaction, origin, chainId, selectedSnap }) => { marginBottom={hasNoData && 12} alignItems={hasNoData && AlignItems.center} justifyContent={hasNoData && JustifyContent.center} - textAlign={hasNoData && TEXT_ALIGN.CENTER} + textAlign={hasNoData && TextAlign.Center} className="snap-insight" > {!loading && !error && ( diff --git a/ui/components/app/custom-spending-cap/custom-spending-cap.js b/ui/components/app/custom-spending-cap/custom-spending-cap.js index 0614b0f36..d2da1adfe 100644 --- a/ui/components/app/custom-spending-cap/custom-spending-cap.js +++ b/ui/components/app/custom-spending-cap/custom-spending-cap.js @@ -13,7 +13,7 @@ import { AlignItems, DISPLAY, FLEX_DIRECTION, - TEXT_ALIGN, + TextAlign, TextVariant, JustifyContent, Size, @@ -273,7 +273,7 @@ export default function CustomSpendingCap({ marginLeft="auto" paddingRight={4} paddingBottom={2} - textAlign={TEXT_ALIGN.END} + textAlign={TextAlign.End} className={classnames('custom-spending-cap__max', { 'custom-spending-cap__max--with-error-message': error, })} diff --git a/ui/components/app/import-token-link/import-token-link.component.js b/ui/components/app/import-token-link/import-token-link.component.js index cf7ebae1f..98744b048 100644 --- a/ui/components/app/import-token-link/import-token-link.component.js +++ b/ui/components/app/import-token-link/import-token-link.component.js @@ -5,7 +5,7 @@ import { useI18nContext } from '../../../hooks/useI18nContext'; import { IMPORT_TOKEN_ROUTE } from '../../../helpers/constants/routes'; import Button from '../../ui/button'; import Box from '../../ui/box/box'; -import { TEXT_ALIGN } from '../../../helpers/constants/design-system'; +import { TextAlign } from '../../../helpers/constants/design-system'; import { detectNewTokens } from '../../../store/actions'; import { MetaMetricsContext } from '../../../contexts/metametrics'; import { @@ -33,7 +33,7 @@ export default function ImportTokenLink() { Boolean(process.env.IN_TEST); return ( - + {isTokenDetectionAvailable && ( <>