diff --git a/src/components/Feed/Feed.jsx b/src/components/Feed/Feed.jsx index 963cbcdfc..168ee7bb5 100644 --- a/src/components/Feed/Feed.jsx +++ b/src/components/Feed/Feed.jsx @@ -36,8 +36,8 @@ const Feed = (props) => {
- {allowComments && { avatarUrl={currentUser.photoURL} comments={comments} isAddingComment={ isAddingComment } - />} + /> {children} ) diff --git a/src/components/Feed/FeedComments.jsx b/src/components/Feed/FeedComments.jsx index d8e93b8fd..ec8da7997 100644 --- a/src/components/Feed/FeedComments.jsx +++ b/src/components/Feed/FeedComments.jsx @@ -25,7 +25,7 @@ class FeedComments extends React.Component { render() { const { comments, currentUser, totalComments, onLoadMoreComments, isLoadingComments, hasMoreComments, onAdd, - onChange, content, avatarUrl, isAddingComment + onChange, content, avatarUrl, isAddingComment, allowComments } = this.props let authorName = currentUser.firstName if (authorName && currentUser.lastName) { @@ -77,6 +77,7 @@ class FeedComments extends React.Component {
)} + {allowComments && + />}
) }