From 651c44b7a537106c486af3ea60170e9383231f9f Mon Sep 17 00:00:00 2001 From: dhruvv173 Date: Tue, 2 May 2023 18:22:25 +0530 Subject: [PATCH] Fixes the cancel-speedup-popover.js --- .../cancel-speedup-popover.js | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/ui/components/app/cancel-speedup-popover/cancel-speedup-popover.js b/ui/components/app/cancel-speedup-popover/cancel-speedup-popover.js index f99ead73154d..72b6eacf9735 100644 --- a/ui/components/app/cancel-speedup-popover/cancel-speedup-popover.js +++ b/ui/components/app/cancel-speedup-popover/cancel-speedup-popover.js @@ -1,12 +1,12 @@ import { useSelector } from 'react-redux'; import React, { useEffect } from 'react'; - +import { Text } from '../../component-library'; import { EditGasModes, PriorityLevels } from '../../../../shared/constants/gas'; import { AlignItems, DISPLAY, FLEX_DIRECTION, - TypographyVariant, + TextVariant, } from '../../../helpers/constants/design-system'; import { getAppIsLoading } from '../../../selectors'; import { gasEstimateGreaterThanGasUsedPlusTenPercent } from '../../../helpers/utils/gas'; @@ -19,7 +19,6 @@ import Box from '../../ui/box'; import Button from '../../ui/button'; import InfoTooltip from '../../ui/info-tooltip'; import Popover from '../../ui/popover'; -import Typography from '../../ui/typography'; import AppLoadingSpinner from '../app-loading-spinner'; const CancelSpeedupPopover = () => { @@ -97,9 +96,11 @@ const CancelSpeedupPopover = () => { >
- @@ -127,7 +128,7 @@ const CancelSpeedupPopover = () => { } /> - +