From cc78bc5eb08d43044c4d65a978331f58297eebed Mon Sep 17 00:00:00 2001 From: Ken Jannette Date: Tue, 17 Apr 2018 20:56:29 -0400 Subject: [PATCH] No message --- src/Bookshelf.js | 4 ++-- src/oneBookListItem.html | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/src/Bookshelf.js b/src/Bookshelf.js index 9f554f7..ad36b40 100644 --- a/src/Bookshelf.js +++ b/src/Bookshelf.js @@ -21,7 +21,7 @@ class Bookshelf extends Component {

Currently Reading

    -
  1. // ____________________________________________________ +
  2. @@ -38,7 +38,7 @@ class Bookshelf extends Component {
    To Kill a Mockingbird
    Harper Lee
    -
  3. // ____________________________________________________ +
  4. diff --git a/src/oneBookListItem.html b/src/oneBookListItem.html index c3286bf..1b3d208 100644 --- a/src/oneBookListItem.html +++ b/src/oneBookListItem.html @@ -16,3 +16,29 @@
    Harper Lee
  5. + +books.filter(function(book){ + return book.shelf === "currentlyReading" +}).map((book) => { + return + +
  6. +
    +
    +
    +
    + +
    +
    +
    {book.title}
    +
    {book.authors}
    +
    +
  7. + +})