mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-27 18:58:08 +00:00
Fix flow
This commit is contained in:
parent
eaede07068
commit
18f82f1453
@ -28,7 +28,7 @@ const loadRateAction = (): AsyncAction => async (dispatch: Dispatch, getState: G
|
||||
|
||||
try {
|
||||
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) {
|
||||
dispatch({
|
||||
type: RATE_UPDATE,
|
||||
|
Loading…
Reference in New Issue
Block a user