From f0e2c80cbc93970593c1baac0caeab2bf4ba7fb1 Mon Sep 17 00:00:00 2001 From: dhruvv173 Date: Mon, 8 May 2023 16:46:24 +0530 Subject: [PATCH 1/2] Changes to nfts-detection-notice.js --- .../nfts-detection-notice.js | 30 ++++++++++--------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/ui/components/app/nfts-detection-notice/nfts-detection-notice.js b/ui/components/app/nfts-detection-notice/nfts-detection-notice.js index ab7b6365adf8..0ffa849476da 100644 --- a/ui/components/app/nfts-detection-notice/nfts-detection-notice.js +++ b/ui/components/app/nfts-detection-notice/nfts-detection-notice.js @@ -2,11 +2,11 @@ import React from 'react'; import { useHistory } from 'react-router-dom'; import Box from '../../ui/box'; import Dialog from '../../ui/dialog'; -import Typography from '../../ui/typography/typography'; +import { Text } from '../../component-library'; import { - TypographyVariant, - TEXT_ALIGN, - FONT_WEIGHT, + TextVariant, + TextAlign, + FontWeight, DISPLAY, TextColor, } from '../../../helpers/constants/design-system'; @@ -32,22 +32,24 @@ export default function NftsDetectionNotice() { /> - {t('newNFTsDetected')} - - + {t('newNFTDetectedMessage')} - +