Browse Source

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

master
ThibG 5 years ago
committed by Eugen Rochko
parent
commit
26c56d0c10
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/actions/importer/index.js

+ 1
- 1
app/javascript/mastodon/actions/importer/index.js View File

@ -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