Convert the polls reducer to plain JS (#33263)
This commit is contained in:
parent
04a9252a93
commit
1bc28709cc
7 changed files with 89 additions and 131 deletions
|
@ -71,7 +71,7 @@ export function importFetchedStatuses(statuses) {
|
|||
}
|
||||
|
||||
if (status.poll?.id) {
|
||||
pushUnique(polls, createPollFromServerJSON(status.poll, getState().polls.get(status.poll.id)));
|
||||
pushUnique(polls, createPollFromServerJSON(status.poll, getState().polls[status.poll.id]));
|
||||
}
|
||||
|
||||
if (status.card) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue