Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
d6030dcd
Unverified
Commit
d6030dcd
authored
May 06, 2021
by
Noah Zinsmeister
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add settings tab to migrate
parent
f0e2a491
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
index.tsx
src/components/NavigationTabs/index.tsx
+3
-3
SwapHeader.tsx
src/components/swap/SwapHeader.tsx
+2
-2
MigrateV2Pair.tsx
src/pages/MigrateV2/MigrateV2Pair.tsx
+2
-3
No files found.
src/components/NavigationTabs/index.tsx
View file @
d6030dcd
...
@@ -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
Settings
Tab
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
/>
<
Settings
Tab
/>
</
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
/>
<
Settings
Tab
/>
</
RowBetween
>
</
RowBetween
>
</
Tabs
>
</
Tabs
>
)
)
...
...
src/components/swap/SwapHeader.tsx
View file @
d6030dcd
import
React
from
'
react
'
import
React
from
'
react
'
import
styled
from
'
styled-components
'
import
styled
from
'
styled-components
'
import
Settings
from
'
../Settings
'
import
Settings
Tab
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
/>
<
Settings
Tab
/>
</
RowFixed
>
</
RowFixed
>
</
RowBetween
>
</
RowBetween
>
</
StyledSwapHeader
>
</
StyledSwapHeader
>
...
...
src/pages/MigrateV2/MigrateV2Pair.tsx
View file @
d6030dcd
...
@@ -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
?
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment