Solutionunvalidated
Use `state.books = state.books.filter(...)` (ensuring the assignment happens) or prefer a mutating approach like `splice()` that directly updates the array in the reducer.
4bb6c77d-429f-4db9-bfd0-71e3b757f015
Use state.books = state.books.filter(...) (ensuring the assignment happens) or prefer a mutating approach like splice() that directly updates the array in the reducer.