Skip to content

Commit 160c844

Browse files
committed
fix(neuron-ui): add an auto match on speed of price from 20 to 40
1 parent 88cede3 commit 160c844

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • packages/neuron-ui/src/components/TransactionFeePanel

packages/neuron-ui/src/components/TransactionFeePanel/index.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ const calculateSpeed = (price: number) => {
1616
if (price >= 40) {
1717
return '60'
1818
}
19+
if (price >= 20) {
20+
return '30'
21+
}
1922
return '0'
2023
}
2124

0 commit comments

Comments
 (0)