Insert polls in redux stores before statuses so it avoids crashes

Port 6d08fd5170 to glitch-soc
th-downstream
ThibG 6 years ago committed by Thibaut Girka
parent 342d9d25bb
commit e31450e8ad

@ -77,8 +77,8 @@ export function importFetchedStatuses(statuses) {
statuses.forEach(processStatus); statuses.forEach(processStatus);
dispatch(importPolls(polls));
dispatch(importFetchedAccounts(accounts)); dispatch(importFetchedAccounts(accounts));
dispatch(importStatuses(normalStatuses)); dispatch(importStatuses(normalStatuses));
dispatch(importPolls(polls));
}; };
} }

Loading…
Cancel
Save