diff --git a/src/discussions/comments/CommentsView.jsx b/src/discussions/comments/CommentsView.jsx index b1418362..1a6c5c43 100644 --- a/src/discussions/comments/CommentsView.jsx +++ b/src/discussions/comments/CommentsView.jsx @@ -76,7 +76,8 @@ function DiscussionCommentsView({ {comments.map(comment => ( ))} - + {!!comments.length + && } {hasMorePages && !isLoading && ( @@ -31,6 +37,11 @@ function ResponseEditor({ ResponseEditor.propTypes = { postId: PropTypes.string.isRequired, intl: intlShape.isRequired, + addWrappingDiv: PropTypes.bool, +}; + +ResponseEditor.defaultProps = { + addWrappingDiv: false, }; export default injectIntl(ResponseEditor);