From 33c1dad744f470999cfeb008c79d39fd82a0969d Mon Sep 17 00:00:00 2001 From: Ken Jannette Date: Fri, 20 Apr 2018 18:00:57 -0400 Subject: [PATCH] Added ternary for authors property in results displayed on SearchPage --- src/SearchPage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SearchPage.js b/src/SearchPage.js index 88529cb..daf6574 100644 --- a/src/SearchPage.js +++ b/src/SearchPage.js @@ -54,7 +54,7 @@ class SearchPage extends Component {
{result.title}
-
{result.authors ? result.authors : ''}
+
{result.authors ? result.authors : 'Author Unknown'}
})