Skip to content

Commit c865ca5

Browse files
authored
Unexpected property name (#463)
1 parent af460f3 commit c865ca5

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
@@ -324,7 +324,7 @@ const booksSlice = createSlice({
324324
booksReceived(state, action) {
325325
if (state.loading === 'pending') {
326326
// Or, call them as "mutating" helpers in a case reducer
327-
booksAdapter.setAll(state, action.payload.books)
327+
booksAdapter.setAll(state, action.payload)
328328
state.loading = 'idle'
329329
}
330330
},

0 commit comments

Comments
 (0)