From 42096488626568d9846e558fd89435e4eb65a828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Ho=C3=A0i=20Danh?= <33005392+nguyenhoaidanh@users.noreply.github.com> Date: Thu, 9 Nov 2023 11:07:31 +0700 Subject: [PATCH] update: revert price impact note (#2372) --- src/components/SwapForm/index.tsx | 8 ++------ src/constants/networks/avax-testnet.ts | 4 ++-- src/constants/networks/bnb-testnet.ts | 2 +- src/constants/networks/mumbai.ts | 4 ++-- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/components/SwapForm/index.tsx b/src/components/SwapForm/index.tsx index feddff037f..8f3b5e1fe7 100644 --- a/src/components/SwapForm/index.tsx +++ b/src/components/SwapForm/index.tsx @@ -13,9 +13,9 @@ import AddressInputPanel from 'components/AddressInputPanel' import { Clock } from 'components/Icons' import { AutoRow } from 'components/Row' import SlippageWarningNote from 'components/SlippageWarningNote' -import GasFeeAndPriceImpactNote from 'components/SwapForm/GasPriceNote' import InputCurrencyPanel from 'components/SwapForm/InputCurrencyPanel' import OutputCurrencyPanel from 'components/SwapForm/OutputCurrencyPanel' +import PriceImpactNote from 'components/SwapForm/PriceImpactNote' import SlippageSettingGroup from 'components/SwapForm/SlippageSettingGroup' import { SwapFormContextProvider } from 'components/SwapForm/SwapFormContext' import useBuildRoute from 'components/SwapForm/hooks/useBuildRoute' @@ -264,11 +264,7 @@ const SwapForm: React.FC = props => { {!isWrapOrUnwrap && } - +