diff --git a/src/components/FeesField/BitcoinKind.js b/src/components/FeesField/BitcoinKind.js index 3d3cd671..3bae574c 100644 --- a/src/components/FeesField/BitcoinKind.js +++ b/src/components/FeesField/BitcoinKind.js @@ -79,10 +79,9 @@ class FeesField extends Component items = items.sort((a, b) => a.blockCount - b.blockCount) } items.push(customItem) - const selectedItem = - prevState.selectedItem.feePerByte === feePerByte - ? prevState.selectedItem - : items.find(f => f.feePerByte === feePerByte) || items[items.length - 1] + const selectedItem = prevState.selectedItem.feePerByte.eq(feePerByte) + ? prevState.selectedItem + : items.find(f => f.feePerByte.eq(feePerByte)) || items[items.length - 1] return { items, selectedItem } }