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
09d3a7ce
Commit
09d3a7ce
authored
Jan 11, 2019
by
Hayden Adams
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix rebase error
parent
c4bc18a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
29 deletions
+3
-29
index.js
src/components/ContextualInfo/index.js
+3
-22
RemoveLiquidity.js
src/pages/Pool/RemoveLiquidity.js
+0
-7
No files found.
src/components/ContextualInfo/index.js
View file @
09d3a7ce
...
...
@@ -32,28 +32,9 @@ class ContextualInfo extends Component {
}
return
(
<
Modal
key
=
"
modal
"
onClose
=
{()
=>
this
.
setState
({
showDetailModal
:
false
})}
>
<
CSSTransitionGroup
transitionName
=
"
summary-modal
"
transitionAppear
=
{
true
}
transitionLeave
=
{
true
}
transitionAppearTimeout
=
{
200
}
transitionLeaveTimeout
=
{
200
}
transitionEnterTimeout
=
{
200
}
>
<
div
className
=
{
c
(
'
contextual-info__summary-modal
'
,
modalClass
)}
>
<
div
key
=
"
open-details
"
className
=
"
contextual-info__open-details-container contextual-info__modal-button
"
onClick
=
{()
=>
this
.
setState
({
showDetailModal
:
false
})}
>
<
span
>
{
this
.
props
.
openModalText
}
<
/span
>
<
img
src
=
{
DropupBlue
}
/
>
<
/div
>
{
this
.
props
.
renderTransactionDetails
()}
<
/div
>
<
/CSSTransitionGroup
>
<
/Modal
>
<
div
className
=
"
contextual-info__details
"
>
{
this
.
props
.
renderTransactionDetails
()}
<
/div
>
);
}
...
...
src/pages/Pool/RemoveLiquidity.js
View file @
09d3a7ce
...
...
@@ -231,17 +231,10 @@ class RemoveLiquidity extends Component {
return
(
<
div
>
<<<<<<<
HEAD
<
div
className
=
"
pool__summary-item
"
>
You
are
removing
between
{
b
(
`
${
+
BN
(
ethWithdrawn
).
toFixed
(
7
)}
ETH`
)}
and
{
b
(
`
${
+
minTokenWithdrawn
}
-
${
+
maxTokenWithdrawn
}
${
label
}
`
)}
into
the
liquidity
pool
.
<
/div
>
<
div
className
=
"
pool__summary-item
"
>
You
will
remove
{
b
(
+
input
)}
liquidity
tokens
.
<
/div
>
<
div
className
=
"
pool__summary-item
"
>
Current
total
supply
of
liquidity
tokens
is
{
b
(
+
adjTotalSupply
.
toFixed
(
7
))}
<
/div
>
<
div
className
=
"
pool__summary-item
"
>
At
current
exchange
rate
,
each
pool
token
is
worth
{
b
(
+
ethReserve
.
dividedBy
(
totalSupply
).
toFixed
(
7
))}
ETH
and
{
b
(
+
tokenReserve
.
dividedBy
(
totalSupply
).
toFixed
(
7
))}
{
label
}
<
/div
>
=======
<
div
className
=
"
pool__summary-modal__item
"
>
{
t
(
"
youAreRemoving
"
)}
{
b
(
`
${
+
BN
(
ethWithdrawn
).
toFixed
(
7
)}
ETH`
)}
{
t
(
"
and
"
)}
{
b
(
`
${
+
minTokenWithdrawn
}
-
${
+
maxTokenWithdrawn
}
${
label
}
`
)}
{
t
(
"
outPool
"
)}
<
/div
>
<
div
className
=
"
pool__summary-modal__item
"
>
{
t
(
"
youWillRemove
"
)}
{
b
(
+
input
)}
{
t
(
"
liquidityTokens
"
)}
<
/div
>
<
div
className
=
"
pool__summary-modal__item
"
>
{
t
(
"
totalSupplyIs
"
)}
{
b
(
+
adjTotalSupply
.
toFixed
(
7
))}
<
/div
>
<
div
className
=
"
pool__summary-modal__item
"
>
{
t
(
"
tokenWorth
"
)}
{
b
(
+
ethReserve
.
dividedBy
(
totalSupply
).
toFixed
(
7
))}
ETH
{
t
(
"
and
"
)}
{
b
(
+
tokenReserve
.
dividedBy
(
totalSupply
).
toFixed
(
7
))}
{
label
}
<
/div
>
>>>>>>>
30
eade0
...
i18n
support
<
/div
>
);
}
...
...
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