diff --git a/src/App.js b/src/App.js index 4b746bb..1b0a97a 100755 --- a/src/App.js +++ b/src/App.js @@ -14,7 +14,6 @@ class BooksApp extends React.Component { componentDidMount() { getAll().then((books) => { - // console.log(books) this.setState({ books }) }) } diff --git a/src/Bookshelf.js b/src/Bookshelf.js index a929d87..27c1342 100644 --- a/src/Bookshelf.js +++ b/src/Bookshelf.js @@ -2,6 +2,10 @@ import React, { Component } from 'react'; class Bookshelf extends Component { +onSelectChange = () => { + console.log("onSelectChange") +} + render() { const books = this.props.books @@ -29,7 +33,7 @@ class Bookshelf extends Component {
- @@ -61,7 +65,7 @@ class Bookshelf extends Component {
- @@ -93,7 +97,7 @@ class Bookshelf extends Component {
-