diff options
author | ThibG <thib@sitedethib.com> | 2019-03-03 23:44:52 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-03-05 21:35:03 +0100 |
commit | 2156765448f3abe295aa39cac382de7748f1aa11 (patch) | |
tree | cdbfe76f309552fe856432ca1a61793de90f51a3 /app/javascript/flavours/glitch/actions/importer | |
parent | 8d70a8a19b2d8436a1361b2bdeb42e7949acc7d0 (diff) |
Insert polls in redux stores before statuses so it avoids crashes
Port 26c56d0c10ca036291d8b08b34f971f981217e8c to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/actions/importer')
-rw-r--r-- | app/javascript/flavours/glitch/actions/importer/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/actions/importer/index.js b/app/javascript/flavours/glitch/actions/importer/index.js index 13ad5d1e1..abadee817 100644 --- a/app/javascript/flavours/glitch/actions/importer/index.js +++ b/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)); }; } |