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
|
@ -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])],
|
||||
}),
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue