pull/287/head
Vladimir Volek 6 years ago committed by Szymon Lesisz
parent 0c0e7eb0ba
commit d806871243

@ -28,7 +28,7 @@ const loadRateAction = (): AsyncAction => async (dispatch: Dispatch, getState: G
try { try {
config.fiatValueTickers.forEach(async (ticker) => { config.fiatValueTickers.forEach(async (ticker) => {
const response: ?Array<any> = await httpRequest(`${ticker.url}?tickers=false&market_data=true&community_data=false&developer_data=false&sparkline=false`, 'json'); const response = await httpRequest(`${ticker.url}?tickers=false&market_data=true&community_data=false&developer_data=false&sparkline=false`, 'json');
if (response) { if (response) {
dispatch({ dispatch({
type: RATE_UPDATE, type: RATE_UPDATE,

Loading…
Cancel
Save