Merge commit '1bc28709ccde4106ab7d654ad5888a14c6bb1724' into glitch-soc/merge-upstream
This commit is contained in:
commit
a3097e1e84
7 files changed
+89
-131
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -15,7 +15,7 @@ export const importFetchedPoll = createAppAsyncThunk(
|
||||
|
||||
dispatch(
|
||||
importPolls({
|
||||
polls: [createPollFromServerJSON(poll, getState().polls.get(poll.id))],
|
||||
polls: [createPollFromServerJSON(poll, getState().polls[poll.id])],
|
||||
}),
|
||||
);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user