Commit d6030dcd authored by Noah Zinsmeister's avatar Noah Zinsmeister

add settings tab to migrate

parent f0e2a491
...@@ -6,7 +6,7 @@ import { NavLink, Link as HistoryLink } from 'react-router-dom' ...@@ -6,7 +6,7 @@ import { NavLink, Link as HistoryLink } from 'react-router-dom'
import { ArrowLeft } from 'react-feather' import { ArrowLeft } from 'react-feather'
import { RowBetween } from '../Row' import { RowBetween } from '../Row'
import Settings from '../Settings' import SettingsTab from '../Settings'
import { useDispatch } from 'react-redux' import { useDispatch } from 'react-redux'
import { AppDispatch } from 'state' import { AppDispatch } from 'state'
import { resetMintState } from 'state/mint/actions' import { resetMintState } from 'state/mint/actions'
...@@ -80,7 +80,7 @@ export function FindPoolTabs({ origin }: { origin: string }) { ...@@ -80,7 +80,7 @@ export function FindPoolTabs({ origin }: { origin: string }) {
<StyledArrowLeft /> <StyledArrowLeft />
</HistoryLink> </HistoryLink>
<ActiveText>Import Pool</ActiveText> <ActiveText>Import Pool</ActiveText>
<Settings /> <SettingsTab />
</RowBetween> </RowBetween>
</Tabs> </Tabs>
) )
...@@ -118,7 +118,7 @@ export function AddRemoveTabs({ ...@@ -118,7 +118,7 @@ export function AddRemoveTabs({
<TYPE.mediumHeader fontWeight={500} fontSize={20}> <TYPE.mediumHeader fontWeight={500} fontSize={20}>
{creating ? 'Create a pair' : adding ? 'Add Liquidity' : 'Remove Liquidity'} {creating ? 'Create a pair' : adding ? 'Add Liquidity' : 'Remove Liquidity'}
</TYPE.mediumHeader> </TYPE.mediumHeader>
<Settings /> <SettingsTab />
</RowBetween> </RowBetween>
</Tabs> </Tabs>
) )
......
import React from 'react' import React from 'react'
import styled from 'styled-components' import styled from 'styled-components'
import Settings from '../Settings' import SettingsTab from '../Settings'
import { RowBetween, RowFixed } from '../Row' import { RowBetween, RowFixed } from '../Row'
import { TYPE } from '../../theme' import { TYPE } from '../../theme'
...@@ -23,7 +23,7 @@ export default function SwapHeader() { ...@@ -23,7 +23,7 @@ export default function SwapHeader() {
<RowFixed> <RowFixed>
{/* <TradeInfo disabled={!trade} trade={trade} /> */} {/* <TradeInfo disabled={!trade} trade={trade} /> */}
{/* <div style={{ width: '8px' }}></div> */} {/* <div style={{ width: '8px' }}></div> */}
<Settings /> <SettingsTab />
</RowFixed> </RowFixed>
</RowBetween> </RowBetween>
</StyledSwapHeader> </StyledSwapHeader>
......
...@@ -46,6 +46,7 @@ import DoubleCurrencyLogo from 'components/DoubleLogo' ...@@ -46,6 +46,7 @@ import DoubleCurrencyLogo from 'components/DoubleLogo'
import Badge, { BadgeVariant } from 'components/Badge' import Badge, { BadgeVariant } from 'components/Badge'
import { useDispatch } from 'react-redux' import { useDispatch } from 'react-redux'
import { AppDispatch } from 'state' import { AppDispatch } from 'state'
import SettingsTab from 'components/Settings'
const ZERO = JSBI.BigInt(0) const ZERO = JSBI.BigInt(0)
...@@ -673,9 +674,7 @@ export default function MigrateV2Pair({ ...@@ -673,9 +674,7 @@ export default function MigrateV2Pair({
<AutoRow style={{ alignItems: 'center', justifyContent: 'space-between' }} gap="8px"> <AutoRow style={{ alignItems: 'center', justifyContent: 'space-between' }} gap="8px">
<BackArrow to="/migrate/v2" /> <BackArrow to="/migrate/v2" />
<TYPE.mediumHeader>Migrate V2 Liquidity</TYPE.mediumHeader> <TYPE.mediumHeader>Migrate V2 Liquidity</TYPE.mediumHeader>
<div style={{ opacity: 0 }}> <SettingsTab />
<QuestionHelper text="Migrate your liquidity tokens from Uniswap V2 to Uniswap V3." />
</div>
</AutoRow> </AutoRow>
{!account ? ( {!account ? (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment