Skip to content

Commit

Permalink
createEntityAdapter word error (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
ouweiya committed Mar 29, 2020
1 parent 92e17c2 commit 4d26565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/createEntityAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ const booksSlice = createSlice({
initialState: booksAdapter.getInitialState({
loading: 'idle'
}),
reducer: {
reducers: {
// Can pass adapter functions directly as case reducers. Because we're passing this
// as a value, `createSlice` will auto-generate the `bookAdded` action type / creator
bookAdded: booksAdapter.addOne,
Expand Down

0 comments on commit 4d26565

Please sign in to comment.