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
bb17c57a
Unverified
Commit
bb17c57a
authored
Apr 26, 2021
by
Noah Zinsmeister
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nits
parent
3b6213f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
PositionPage.tsx
src/pages/Pool/PositionPage.tsx
+1
-1
V3.tsx
src/pages/RemoveLiquidity/V3.tsx
+5
-5
No files found.
src/pages/Pool/PositionPage.tsx
View file @
bb17c57a
...
@@ -240,7 +240,7 @@ export function PositionPage({
...
@@ -240,7 +240,7 @@ export function PositionPage({
</
Badge
>
</
Badge
>
</
RowFixed
>
</
RowFixed
>
<
RowFixed
>
<
RowFixed
>
{
(
feeValue0
?.
greaterThan
(
0
)
&&
feeValue1
?.
greaterThan
(
0
)
)
||
!!
collectMigrationHash
?
(
{
feeValue0
?.
greaterThan
(
0
)
||
feeValue1
?.
greaterThan
(
0
)
||
!!
collectMigrationHash
?
(
<
ButtonConfirmed
<
ButtonConfirmed
disabled=
{
collecting
||
!!
collectMigrationHash
}
disabled=
{
collecting
||
!!
collectMigrationHash
}
confirmed=
{
!!
collectMigrationHash
&&
!
isCollectPending
}
confirmed=
{
!!
collectMigrationHash
&&
!
isCollectPending
}
...
...
src/pages/RemoveLiquidity/V3.tsx
View file @
bb17c57a
...
@@ -244,7 +244,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
...
@@ -244,7 +244,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
<AutoColumn gap="lg">
<AutoColumn gap="lg">
<RowBetween>
<RowBetween>
<RowFixed>
<RowFixed>
<DoubleCurrencyLogo currency0={currency
0} currency1={currency1
} size={20} margin={true} />
<DoubleCurrencyLogo currency0={currency
1} currency1={currency0
} size={20} margin={true} />
<TYPE.label ml="10px" fontSize="20px">{`
$
{
currency0
?.
symbol
}
/${currency1
?
.symbol}`}</
TYPE
.
label
>
<TYPE.label ml="10px" fontSize="20px">{`
$
{
currency0
?.
symbol
}
/${currency1
?
.symbol}`}</
TYPE
.
label
>
<
/
RowFixed
>
<
/
RowFixed
>
<
RangeBadge
inRange=
{
!
outOfRange
}
>
{
outOfRange
?
'
Out of range
'
:
'
In Range
'
}
</
RangeBadge
>
<
RangeBadge
inRange=
{
!
outOfRange
}
>
{
outOfRange
?
'
Out of range
'
:
'
In Range
'
}
</
RangeBadge
>
...
@@ -282,7 +282,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
...
@@ -282,7 +282,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
<
Text
fontSize=
{
16
}
fontWeight=
{
500
}
marginLeft=
{
'
6px
'
}
>
<
Text
fontSize=
{
16
}
fontWeight=
{
500
}
marginLeft=
{
'
6px
'
}
>
{
liquidityValue0
&&
<
FormattedCurrencyAmount
currencyAmount=
{
liquidityValue0
}
/>
}
{
liquidityValue0
&&
<
FormattedCurrencyAmount
currencyAmount=
{
liquidityValue0
}
/>
}
</
Text
>
</
Text
>
<
CurrencyLogo
size=
"20px"
style=
{
{
marginLeft
:
'
8px
'
}
}
currency=
{
liquidityValue0
?.
token
}
/>
<
CurrencyLogo
size=
"20px"
style=
{
{
marginLeft
:
'
8px
'
}
}
currency=
{
currency0
}
/>
</
RowFixed
>
</
RowFixed
>
</
RowBetween
>
</
RowBetween
>
<
RowBetween
>
<
RowBetween
>
...
@@ -293,7 +293,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
...
@@ -293,7 +293,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
<
Text
fontSize=
{
16
}
fontWeight=
{
500
}
marginLeft=
{
'
6px
'
}
>
<
Text
fontSize=
{
16
}
fontWeight=
{
500
}
marginLeft=
{
'
6px
'
}
>
{
liquidityValue1
&&
<
FormattedCurrencyAmount
currencyAmount=
{
liquidityValue1
}
/>
}
{
liquidityValue1
&&
<
FormattedCurrencyAmount
currencyAmount=
{
liquidityValue1
}
/>
}
</
Text
>
</
Text
>
<
CurrencyLogo
size=
"20px"
style=
{
{
marginLeft
:
'
8px
'
}
}
currency=
{
liquidityValue1
?.
token
}
/>
<
CurrencyLogo
size=
"20px"
style=
{
{
marginLeft
:
'
8px
'
}
}
currency=
{
currency1
}
/>
</
RowFixed
>
</
RowFixed
>
</
RowBetween
>
</
RowBetween
>
{
feeValue0
?.
greaterThan
(
0
)
||
feeValue1
?.
greaterThan
(
0
)
?
(
{
feeValue0
?.
greaterThan
(
0
)
||
feeValue1
?.
greaterThan
(
0
)
?
(
...
@@ -307,7 +307,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
...
@@ -307,7 +307,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
<
Text
fontSize=
{
16
}
fontWeight=
{
500
}
marginLeft=
{
'
6px
'
}
>
<
Text
fontSize=
{
16
}
fontWeight=
{
500
}
marginLeft=
{
'
6px
'
}
>
{
feeValue0
&&
<
FormattedCurrencyAmount
currencyAmount=
{
feeValue0
}
/>
}
{
feeValue0
&&
<
FormattedCurrencyAmount
currencyAmount=
{
feeValue0
}
/>
}
</
Text
>
</
Text
>
<
CurrencyLogo
size=
"20px"
style=
{
{
marginLeft
:
'
8px
'
}
}
currency=
{
feeValue0
?.
token
}
/>
<
CurrencyLogo
size=
"20px"
style=
{
{
marginLeft
:
'
8px
'
}
}
currency=
{
currency0
}
/>
</
RowFixed
>
</
RowFixed
>
</
RowBetween
>
</
RowBetween
>
<
RowBetween
>
<
RowBetween
>
...
@@ -318,7 +318,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
...
@@ -318,7 +318,7 @@ function Remove({ tokenId }: { tokenId: BigNumber }) {
<
Text
fontSize=
{
16
}
fontWeight=
{
500
}
marginLeft=
{
'
6px
'
}
>
<
Text
fontSize=
{
16
}
fontWeight=
{
500
}
marginLeft=
{
'
6px
'
}
>
{
feeValue1
&&
<
FormattedCurrencyAmount
currencyAmount=
{
feeValue1
}
/>
}
{
feeValue1
&&
<
FormattedCurrencyAmount
currencyAmount=
{
feeValue1
}
/>
}
</
Text
>
</
Text
>
<
CurrencyLogo
size=
"20px"
style=
{
{
marginLeft
:
'
8px
'
}
}
currency=
{
feeValue1
?.
token
}
/>
<
CurrencyLogo
size=
"20px"
style=
{
{
marginLeft
:
'
8px
'
}
}
currency=
{
currency1
}
/>
</
RowFixed
>
</
RowFixed
>
</
RowBetween
>
</
RowBetween
>
</>
</>
...
...
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