Skip to content

Commit 4d26565

Browse files
authored
createEntityAdapter word error (#455)
1 parent 92e17c2 commit 4d26565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/createEntityAdapter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ const booksSlice = createSlice({
312312
initialState: booksAdapter.getInitialState({
313313
loading: 'idle'
314314
}),
315-
reducer: {
315+
reducers: {
316316
// Can pass adapter functions directly as case reducers. Because we're passing this
317317
// as a value, `createSlice` will auto-generate the `bookAdded` action type / creator
318318
bookAdded: booksAdapter.addOne,

0 commit comments

Comments
 (0)