diff --git a/src/SearchPage.js b/src/SearchPage.js index e8c74b2..1f3137f 100644 --- a/src/SearchPage.js +++ b/src/SearchPage.js @@ -36,28 +36,32 @@ class SearchPage extends Component {
    - {this.results.map((result) => + if (this.results) { -
  1. -
    -
    -
    -
    - + {this.results.map((result) => + +
  2. +
    +
    +
    +
    + +
    +
    {result.title}
    +
    {result.authors}
    -
    {result.title}
    -
    {result.authors}
    -
- + + + )} + } - )}