diff options
author | ThibG <thib@sitedethib.com> | 2019-03-03 23:44:52 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-03 23:44:52 +0100 |
commit | 26c56d0c10ca036291d8b08b34f971f981217e8c (patch) | |
tree | d1c36f5842d505fe5c1e87a3166f6f4da10d607d /app/javascript | |
parent | 8fe93b0701ea754fe8727b1d4ef11f7a33903f81 (diff) |
Insert polls in redux stores before statuses so it avoids crashes (#10140)
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/actions/importer/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/actions/importer/index.js b/app/javascript/mastodon/actions/importer/index.js index 13ad5d1e1..abadee817 100644 --- a/app/javascript/mastodon/actions/importer/index.js +++ b/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)); }; } |