From 4743912d9d752006b43e1f2d01ddaa79a1bf55eb Mon Sep 17 00:00:00 2001 From: Nick Pegg Date: Sat, 7 Oct 2017 17:53:03 -0700 Subject: [PATCH] Don't show history nav if 404ing --- src/Article.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Article.js b/src/Article.js index 120f420..7648e9a 100644 --- a/src/Article.js +++ b/src/Article.js @@ -232,17 +232,17 @@ class Posts extends Component { /> ); - let jawn = articles; + let jawn = ( +
+ {articles} + +
+ ) if (articles.length === 0) { jawn = ; } - return ( -
- { jawn } - -
- ) + return jawn } else { return

}