Skip to content

Commit

Permalink
fix(neuron-ui): add an auto match on speed of price from 20 to 40
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith-CY committed Sep 30, 2019
1 parent 88cede3 commit 160c844
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ const calculateSpeed = (price: number) => {
if (price >= 40) {
return '60'
}
if (price >= 20) {
return '30'
}
return '0'
}

Expand Down

0 comments on commit 160c844

Please sign in to comment.