mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-11 10:12:56 -05:00
Insert polls in redux stores before statuses so it avoids crashes
Port 26c56d0c10ca036291d8b08b34f971f981217e8c to glitch-soc
This commit is contained in:
parent
8d70a8a19b
commit
2156765448
@ -77,8 +77,8 @@ export function importFetchedStatuses(statuses) {
|
|||||||
|
|
||||||
statuses.forEach(processStatus);
|
statuses.forEach(processStatus);
|
||||||
|
|
||||||
|
dispatch(importPolls(polls));
|
||||||
dispatch(importFetchedAccounts(accounts));
|
dispatch(importFetchedAccounts(accounts));
|
||||||
dispatch(importStatuses(normalStatuses));
|
dispatch(importStatuses(normalStatuses));
|
||||||
dispatch(importPolls(polls));
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user