Updated package.json

This commit is contained in:
Ken Jannette
2018-04-17 20:00:16 -04:00
parent a67540ccb7
commit b745c104eb
3 changed files with 112 additions and 19 deletions

View File

@@ -5,11 +5,12 @@ class Bookshelf extends Component {
render() {
const books = this.props.books
console.log(books)
console.log(books.filter(function(book) => book.shelf === "currentlyReading"))
console.log(books.filter(function(book){
return book.shelf === "currentlyReading"
}))
return (
<div className="list-books">
<div className="list-books-title">
<h1>MyReads</h1>