From 012258849f628ffcad7c4b539bf283271778d2c3 Mon Sep 17 00:00:00 2001 From: "Valentin D. Pinkman" Date: Wed, 5 Dec 2018 15:40:00 +0100 Subject: [PATCH] LL-631 make fees level selectable event if fees have the same value --- src/components/FeesField/BitcoinKind.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/FeesField/BitcoinKind.js b/src/components/FeesField/BitcoinKind.js index 25194eb6..8eb47667 100644 --- a/src/components/FeesField/BitcoinKind.js +++ b/src/components/FeesField/BitcoinKind.js @@ -89,7 +89,7 @@ class FeesField extends Component { } 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 }