add settings tab to migrate
This commit is contained in:
parent
f0e2a491dc
commit
d6030dcd45
@ -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 }) {
|
||||
<StyledArrowLeft />
|
||||
</HistoryLink>
|
||||
<ActiveText>Import Pool</ActiveText>
|
||||
<Settings />
|
||||
<SettingsTab />
|
||||
</RowBetween>
|
||||
</Tabs>
|
||||
)
|
||||
@ -118,7 +118,7 @@ export function AddRemoveTabs({
|
||||
<TYPE.mediumHeader fontWeight={500} fontSize={20}>
|
||||
{creating ? 'Create a pair' : adding ? 'Add Liquidity' : 'Remove Liquidity'}
|
||||
</TYPE.mediumHeader>
|
||||
<Settings />
|
||||
<SettingsTab />
|
||||
</RowBetween>
|
||||
</Tabs>
|
||||
)
|
||||
|
@ -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() {
|
||||
<RowFixed>
|
||||
{/* <TradeInfo disabled={!trade} trade={trade} /> */}
|
||||
{/* <div style={{ width: '8px' }}></div> */}
|
||||
<Settings />
|
||||
<SettingsTab />
|
||||
</RowFixed>
|
||||
</RowBetween>
|
||||
</StyledSwapHeader>
|
||||
|
@ -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({
|
||||
<AutoRow style={{ alignItems: 'center', justifyContent: 'space-between' }} gap="8px">
|
||||
<BackArrow to="/migrate/v2" />
|
||||
<TYPE.mediumHeader>Migrate V2 Liquidity</TYPE.mediumHeader>
|
||||
<div style={{ opacity: 0 }}>
|
||||
<QuestionHelper text="Migrate your liquidity tokens from Uniswap V2 to Uniswap V3." />
|
||||
</div>
|
||||
<SettingsTab />
|
||||
</AutoRow>
|
||||
|
||||
{!account ? (
|
||||
|
Loading…
Reference in New Issue
Block a user