No Message
This commit is contained in:
@@ -24,7 +24,6 @@ class BooksApp extends React.Component {
|
|||||||
onSelectChange = (e) => {
|
onSelectChange = (e) => {
|
||||||
const id = e.target.name
|
const id = e.target.name
|
||||||
const newShelf = e.target.value
|
const newShelf = e.target.value
|
||||||
|
|
||||||
const books = this.state.books.slice();
|
const books = this.state.books.slice();
|
||||||
books.forEach((book) => {
|
books.forEach((book) => {
|
||||||
if (book.id === id) {
|
if (book.id === id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user