diff --git a/src/App.js b/src/App.js index 6e1e958..c5e0e83 100755 --- a/src/App.js +++ b/src/App.js @@ -23,7 +23,7 @@ class BooksApp extends React.Component { onSelectChange = (e) => { const shelf = e.target.value - this.setState(shelf) + } render() { diff --git a/src/Bookshelf.js b/src/Bookshelf.js index 82d43dd..a57b0ab 100644 --- a/src/Bookshelf.js +++ b/src/Bookshelf.js @@ -6,7 +6,7 @@ class Bookshelf extends Component { const books = this.props.books const onSelect = this.props.onSelect - // console.log(books) + console.log(books) return (