diff --git a/client/coral-plugin-commentbox/CommentBox.js b/client/coral-plugin-commentbox/CommentBox.js index 6e17b119f..084e67fc4 100644 --- a/client/coral-plugin-commentbox/CommentBox.js +++ b/client/coral-plugin-commentbox/CommentBox.js @@ -67,7 +67,7 @@ class CommentBox extends React.Component { postComment(comment, 'comments') .then(({data}) => { - this.setState({loadingState: 'success'}); + this.setState({loadingState: 'success', body: ''}); const postedComment = data.createComment.comment; // Execute postSubmit Hooks @@ -78,8 +78,6 @@ class CommentBox extends React.Component { if (commentPostedHandler) { commentPostedHandler(); } - - this.setState({body: ''}); }) .catch((err) => { this.setState({loadingState: 'error'});