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
b0f4b4c7
Unverified
Commit
b0f4b4c7
authored
Jul 02, 2021
by
Justin Domingue
Committed by
GitHub
Jul 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove loading indicator from fee tier selection (#1954)
parent
a73d3af4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
index.tsx
src/components/FeeSelector/index.tsx
+4
-9
No files found.
src/components/FeeSelector/index.tsx
View file @
b0f4b4c7
...
...
@@ -10,7 +10,6 @@ import { ButtonGray, ButtonRadioChecked } from 'components/Button'
import
styled
,
{
keyframes
}
from
'
styled-components/macro
'
import
Badge
from
'
components/Badge
'
import
Card
from
'
components/Card
'
import
Loader
from
'
components/Loader
'
import
usePrevious
from
'
hooks/usePrevious
'
import
{
useFeeTierDistribution
}
from
'
hooks/useFeeTierDistribution
'
import
ReactGA
from
'
react-ga
'
...
...
@@ -139,7 +138,7 @@ export default function FeeSelector({
<
FocusedOutlineCard
pulsing=
{
pulsing
}
onAnimationEnd=
{
()
=>
setPulsing
(
false
)
}
>
<
RowBetween
>
<
AutoColumn
>
{
!
feeAmount
||
isLoading
?
(
{
!
feeAmount
?
(
<>
<
TYPE
.
label
>
<
Trans
>
Fee tier
</
Trans
>
...
...
@@ -160,13 +159,9 @@ export default function FeeSelector({
)
}
</
AutoColumn
>
{
isLoading
?
(
<
Loader
size=
"20px"
/>
)
:
(
<
ButtonGray
onClick=
{
()
=>
setShowOptions
(
!
showOptions
)
}
width=
"auto"
padding=
"4px"
borderRadius=
"6px"
>
{
showOptions
?
<
Trans
>
Hide
</
Trans
>
:
<
Trans
>
Edit
</
Trans
>
}
</
ButtonGray
>
)
}
</
RowBetween
>
</
FocusedOutlineCard
>
...
...
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