Browse Source
LL-631 make fees level selectable event if fees have the same value
gre-patch-1
Valentin D. Pinkman
6 years ago
No known key found for this signature in database
GPG Key ID: E7D110669FFB8D3E
1 changed files with
1 additions and
1 deletions
-
src/components/FeesField/BitcoinKind.js
|
|
@ -89,7 +89,7 @@ class FeesField extends Component<OwnProps, State> { |
|
|
|
} |
|
|
|
items.push(!feePerByte && !error ? notLoadedItem : customItem) |
|
|
|
const selectedItem = |
|
|
|
!feePerByte && prevState.selectedItem.feePerByte.eq(feePerByte) |
|
|
|
feePerByte && prevState.selectedItem.feePerByte.eq(feePerByte) |
|
|
|
? prevState.selectedItem |
|
|
|
: items.find(f => f.feePerByte.eq(feePerByte)) || items[items.length - 1] |
|
|
|
return { items, selectedItem } |
|
|
|