diff --git a/ui/src/components/comment-form.tsx b/ui/src/components/comment-form.tsx index 6a5045924..ae3e7cfc3 100644 --- a/ui/src/components/comment-form.tsx +++ b/ui/src/components/comment-form.tsx @@ -220,6 +220,7 @@ export class CommentForm extends Component { this.state.previewMode = false; this.state.loading = false; this.state.commentForm.content = ''; + this.setState(this.state); let form: any = document.getElementById(this.formId); form.reset(); if (this.props.node) {