From e6ef0b1daefda09e47b9a6f8cfad0dd34e1ec740 Mon Sep 17 00:00:00 2001 From: Asara Date: Sat, 3 Aug 2019 23:17:32 -0400 Subject: [PATCH] Fix repeating Blog Posts --- src/components/PostList.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/PostList.js b/src/components/PostList.js index 74f675a..c8f9547 100644 --- a/src/components/PostList.js +++ b/src/components/PostList.js @@ -17,7 +17,6 @@ class PostList extends React.Component { const post = posts.entities[id] return (
-

Blog Posts

{post.title}

@@ -36,8 +35,11 @@ class PostList extends React.Component { render () { return ( -
- {this.renderList()} +
+

Blog Posts

+
+ {this.renderList()} +
); }