From 911fe6ebbcc8c717b2296e3c42e38371d39855ed Mon Sep 17 00:00:00 2001 From: Asara Date: Sat, 1 Feb 2020 18:08:25 -0500 Subject: [PATCH] Fix up rendering of comments for only verified users --- src/components/Post.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/Post.js b/src/components/Post.js index de720b2..f181cfb 100644 --- a/src/components/Post.js +++ b/src/components/Post.js @@ -54,7 +54,9 @@ class Post extends React.Component { - + { this.props.auth.verified && + + }

Comments:


@@ -80,7 +82,8 @@ class Post extends React.Component { const mapStateToProps = (state) => { return { posts: state.posts, - slug: state.slug + slug: state.slug, + auth: state.auth }; }