No Message

This commit is contained in:
Ken Jannette
2018-04-19 12:20:00 -04:00
parent 9fec254266
commit 52a4ba9398
2 changed files with 1 additions and 3 deletions

View File

@@ -24,8 +24,6 @@ class BooksApp extends React.Component {
onSelectChange = (e) => {
const id = e.target.name
const newShelf = e.target.value
// console.log(id, newShelf)
let changeShelf = this.state.books.filter((book) => { return book.id === id})
const books = this.state.books.slice(); // Create local copy to change.
books.forEach((book) => {
if (book.id === id) {