diff --git a/src/components/NavigationTabs/index.tsx b/src/components/NavigationTabs/index.tsx index eb99de1cac..db2e4c42ec 100644 --- a/src/components/NavigationTabs/index.tsx +++ b/src/components/NavigationTabs/index.tsx @@ -1,6 +1,4 @@ import { Trans } from '@lingui/macro' -import { Percent } from '@uniswap/sdk-core' -import { useWeb3React } from '@web3-react/core' import { ReactNode } from 'react' import { ArrowLeft } from 'react-feather' import { Link, useLocation } from 'react-router-dom' @@ -13,7 +11,6 @@ import { ThemedText } from 'theme' import { flexRowNoWrap } from 'theme/styles' import { RowBetween } from '../Row' -import SettingsTab from '../Settings' const Tabs = styled.div` ${flexRowNoWrap}; @@ -64,18 +61,15 @@ const AddRemoveTitleText = styled(ThemedText.SubHeaderLarge)` export function AddRemoveTabs({ adding, creating, - autoSlippage, positionID, children, }: { adding: boolean creating: boolean - autoSlippage: Percent positionID?: string showBackLink?: boolean children?: ReactNode }) { - const { chainId } = useWeb3React() const theme = useTheme() // reset states on back const dispatch = useAppDispatch() @@ -112,7 +106,6 @@ export function AddRemoveTabs({ )} {children && {children}} - ) diff --git a/src/pages/AddLiquidity/index.tsx b/src/pages/AddLiquidity/index.tsx index ad7d834986..e46315b601 100644 --- a/src/pages/AddLiquidity/index.tsx +++ b/src/pages/AddLiquidity/index.tsx @@ -607,13 +607,7 @@ function AddLiquidity() { pendingText={pendingText} /> - + {!hasExistingPosition && ( diff --git a/src/pages/AddLiquidityV2/index.tsx b/src/pages/AddLiquidityV2/index.tsx index b17189ce65..9659d438b4 100644 --- a/src/pages/AddLiquidityV2/index.tsx +++ b/src/pages/AddLiquidityV2/index.tsx @@ -335,7 +335,7 @@ export default function AddLiquidity() { return ( <> - + - + {position ? ( diff --git a/src/pages/RemoveLiquidity/index.tsx b/src/pages/RemoveLiquidity/index.tsx index 17816e11fe..a160c82037 100644 --- a/src/pages/RemoveLiquidity/index.tsx +++ b/src/pages/RemoveLiquidity/index.tsx @@ -451,7 +451,7 @@ function RemoveLiquidity() { return ( <> - +