Insert polls in redux stores before statuses so it avoids crashes

Port 26c56d0c10 to glitch-soc
master
ThibG 6 years ago committed by Thibaut Girka
parent 8d70a8a19b
commit 2156765448
  1. 2
      app/javascript/flavours/glitch/actions/importer/index.js

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

Loading…
Cancel
Save