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
|
||||
};
|
||||
|
||||
const { ETHBTC, ETHREP, BTCETH, BTCREP } = bityRates.byId;
|
||||
const CurrentRatesProps = { ETHBTC, ETHREP, BTCETH, BTCREP };
|
||||
const CurrentRatesProps = bityRates.byId ? { ...bityRates.byId } : {};
|
||||
|
||||
return (
|
||||
<TabSection>
|
||||
|
|
Loading…
Reference in New Issue