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
09f30ce0
Commit
09f30ce0
authored
May 05, 2021
by
Callil Capuozzo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'main' of
https://github.com/Uniswap/v3-interface
into main
parents
a49d5382
3affcb8d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
10 deletions
+12
-10
index.tsx
src/components/Header/index.tsx
+1
-2
InputStepCounter.tsx
src/components/InputStepCounter/InputStepCounter.tsx
+2
-2
index.tsx
src/components/Menu/index.tsx
+8
-5
reducer.test.ts
src/state/user/reducer.test.ts
+1
-1
No files found.
src/components/Header/index.tsx
View file @
09f30ce0
...
...
@@ -340,7 +340,7 @@ export default function Header() {
Boolean
(
match
)
||
pathname
.
startsWith
(
'
/add
'
)
||
pathname
.
startsWith
(
'
/remove
'
)
||
pathname
.
startsWith
(
'
/
creat
e
'
)
||
pathname
.
startsWith
(
'
/
increas
e
'
)
||
pathname
.
startsWith
(
'
/find
'
)
}
>
...
...
@@ -370,7 +370,6 @@ export default function Header() {
<
CardNoise
/>
</
UNIWrapper
>
)
}
<
AccountElement
active=
{
!!
account
}
style=
{
{
pointerEvents
:
'
auto
'
}
}
>
{
account
&&
userEthBalance
?
(
<
BalanceText
style=
{
{
flexShrink
:
0
}
}
pl=
"0.75rem"
pr=
"0.5rem"
fontWeight=
{
500
}
>
...
...
src/components/InputStepCounter/InputStepCounter.tsx
View file @
09f30ce0
...
...
@@ -145,10 +145,10 @@ const StepCounter = ({
{
!
locked
?
(
<
RowBetween
>
<
SmallButton
onClick=
{
handleDecrement
}
>
<
TYPE
.
black
fontSize=
"12px"
>
-
{
feeAmountFormatted
}
%
</
TYPE
.
black
>
<
TYPE
.
white
fontSize=
"12px"
>
-
{
feeAmountFormatted
}
%
</
TYPE
.
white
>
</
SmallButton
>
<
SmallButton
onClick=
{
handleIncrement
}
>
<
TYPE
.
black
fontSize=
"12px"
>
+
{
feeAmountFormatted
}
%
</
TYPE
.
black
>
<
TYPE
.
white
fontSize=
"12px"
>
+
{
feeAmountFormatted
}
%
</
TYPE
.
white
>
</
SmallButton
>
</
RowBetween
>
)
:
null
}
...
...
src/components/Menu/index.tsx
View file @
09f30ce0
...
...
@@ -90,7 +90,10 @@ const MenuFlyout = styled.span<{ flyoutAlignment?: FlyoutAlignment }>`
`
const
MenuItem
=
styled
(
ExternalLink
)
`
display: flex;
flex: 1;
flex-direction: row;
align-items: center;
padding: 0.5rem 0.5rem;
color:
${({
theme
})
=>
theme
.
text2
}
;
:hover {
...
...
@@ -139,23 +142,23 @@ export default function Menu() {
<
MenuFlyout
>
<
MenuItem
href=
"https://uniswap.org/"
>
<
Info
size=
{
14
}
/>
About
<
div
>
About
</
div
>
</
MenuItem
>
<
MenuItem
href=
"https://docs.uniswap.org/"
>
<
BookOpen
size=
{
14
}
/>
Docs
<
div
>
Docs
</
div
>
</
MenuItem
>
<
MenuItem
href=
{
CODE_LINK
}
>
<
Code
size=
{
14
}
/>
Code
<
div
>
Code
</
div
>
</
MenuItem
>
<
MenuItem
href=
"https://discord.gg/FCfyBSbCU5"
>
<
MessageCircle
size=
{
14
}
/>
Discord
<
div
>
Discord
</
div
>
</
MenuItem
>
<
MenuItem
href=
"https://info.uniswap.org/"
>
<
PieChart
size=
{
14
}
/>
Analytics
<
div
>
Analytics
</
div
>
</
MenuItem
>
{
account
&&
(
<
UNIbutton
onClick=
{
openClaimModal
}
padding=
"8px 16px"
width=
"100%"
borderRadius=
"12px"
mt=
"0.5rem"
>
...
...
src/state/user/reducer.test.ts
View file @
09f30ce0
...
...
@@ -27,7 +27,7 @@ describe('swap reducer', () => {
}
as
any
)
store
.
dispatch
(
updateVersion
())
expect
(
store
.
getState
().
userDeadline
).
toEqual
(
DEFAULT_DEADLINE_FROM_NOW
)
expect
(
store
.
getState
().
userSlippageTolerance
).
toEqual
(
5
0
)
expect
(
store
.
getState
().
userSlippageTolerance
).
toEqual
(
1
0
)
})
})
})
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