Insert polls in redux stores before statuses so it avoids crashes (#10140)

master
ThibG 6 years ago committed by Eugen Rochko
parent 8fe93b0701
commit 26c56d0c10
  1. 2
      app/javascript/mastodon/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