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) {
- -
-
-
-
-
-
+ {this.results.map((result) =>
+
+
-
+
+
+
+
+
+
+
{result.title}
+
{result.authors}
- {result.title}
- {result.authors}
-
-
+
+
+ )}
+ }
- )}