From d6030dcd45981922b9888d3a8fcba9cfbf5be525 Mon Sep 17 00:00:00 2001 From: Noah Zinsmeister Date: Thu, 6 May 2021 17:44:05 -0400 Subject: [PATCH] add settings tab to migrate --- src/components/NavigationTabs/index.tsx | 6 +++--- src/components/swap/SwapHeader.tsx | 4 ++-- src/pages/MigrateV2/MigrateV2Pair.tsx | 5 ++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/NavigationTabs/index.tsx b/src/components/NavigationTabs/index.tsx index 485b473306..745b288c24 100644 --- a/src/components/NavigationTabs/index.tsx +++ b/src/components/NavigationTabs/index.tsx @@ -6,7 +6,7 @@ import { NavLink, Link as HistoryLink } from 'react-router-dom' import { ArrowLeft } from 'react-feather' import { RowBetween } from '../Row' -import Settings from '../Settings' +import SettingsTab from '../Settings' import { useDispatch } from 'react-redux' import { AppDispatch } from 'state' import { resetMintState } from 'state/mint/actions' @@ -80,7 +80,7 @@ export function FindPoolTabs({ origin }: { origin: string }) { Import Pool - + ) @@ -118,7 +118,7 @@ export function AddRemoveTabs({ {creating ? 'Create a pair' : adding ? 'Add Liquidity' : 'Remove Liquidity'} - + ) diff --git a/src/components/swap/SwapHeader.tsx b/src/components/swap/SwapHeader.tsx index 8a71fad582..83978c5a54 100644 --- a/src/components/swap/SwapHeader.tsx +++ b/src/components/swap/SwapHeader.tsx @@ -1,6 +1,6 @@ import React from 'react' import styled from 'styled-components' -import Settings from '../Settings' +import SettingsTab from '../Settings' import { RowBetween, RowFixed } from '../Row' import { TYPE } from '../../theme' @@ -23,7 +23,7 @@ export default function SwapHeader() { {/* */} {/*
*/} - +
diff --git a/src/pages/MigrateV2/MigrateV2Pair.tsx b/src/pages/MigrateV2/MigrateV2Pair.tsx index af85609167..5c44bc7565 100644 --- a/src/pages/MigrateV2/MigrateV2Pair.tsx +++ b/src/pages/MigrateV2/MigrateV2Pair.tsx @@ -46,6 +46,7 @@ import DoubleCurrencyLogo from 'components/DoubleLogo' import Badge, { BadgeVariant } from 'components/Badge' import { useDispatch } from 'react-redux' import { AppDispatch } from 'state' +import SettingsTab from 'components/Settings' const ZERO = JSBI.BigInt(0) @@ -673,9 +674,7 @@ export default function MigrateV2Pair({ Migrate V2 Liquidity -
- -
+
{!account ? (