|
@ -80,8 +80,6 @@ const mapStateToProps = (state: State, props: OwnProps) => { |
|
|
const fromExchange = currencySettingsSelector(state, { currency }).exchange |
|
|
const fromExchange = currencySettingsSelector(state, { currency }).exchange |
|
|
const toExchange = counterValueExchangeSelector(state) |
|
|
const toExchange = counterValueExchangeSelector(state) |
|
|
const getCounterValue = value => |
|
|
const getCounterValue = value => |
|
|
fromExchange && |
|
|
|
|
|
toExchange && |
|
|
|
|
|
CounterValues.calculateWithIntermediarySelector(state, { |
|
|
CounterValues.calculateWithIntermediarySelector(state, { |
|
|
from: currency, |
|
|
from: currency, |
|
|
fromExchange, |
|
|
fromExchange, |
|
@ -92,8 +90,6 @@ const mapStateToProps = (state: State, props: OwnProps) => { |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
const getReverseCounterValue = value => |
|
|
const getReverseCounterValue = value => |
|
|
fromExchange && |
|
|
|
|
|
toExchange && |
|
|
|
|
|
CounterValues.reverseWithIntermediarySelector(state, { |
|
|
CounterValues.reverseWithIntermediarySelector(state, { |
|
|
from: currency, |
|
|
from: currency, |
|
|
fromExchange, |
|
|
fromExchange, |
|
|