Fix undefined bityRate pair (#597)
* Update TODO comments & Remove old TODO comments * Fix undefined bityRate pair
This commit is contained in:
parent
f6410646c0
commit
5809069437
|
@ -151,8 +151,7 @@ class Swap extends Component<ReduxActionProps & ReduxStateProps, {}> {
|
||||||
outputTx
|
outputTx
|
||||||
};
|
};
|
||||||
|
|
||||||
const { ETHBTC, ETHREP, BTCETH, BTCREP } = bityRates.byId;
|
const CurrentRatesProps = bityRates.byId ? { ...bityRates.byId } : {};
|
||||||
const CurrentRatesProps = { ETHBTC, ETHREP, BTCETH, BTCREP };
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<TabSection>
|
<TabSection>
|
||||||
|
|
Loading…
Reference in New Issue