diff --git a/ui/src/components/comment-form.tsx b/ui/src/components/comment-form.tsx index 6a50459..ae3e7cf 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) {