diff --git a/src/App.js b/src/App.js index 87492ac..675590c 100755 --- a/src/App.js +++ b/src/App.js @@ -39,10 +39,9 @@ class BooksApp extends React.Component { newBook.shelf = newShelf } }); - this.setState({ books: [...newBook] - }) + }); } onSelectChange = (e) => {