diff --git a/src/shared/components/comment/comment-form.tsx b/src/shared/components/comment/comment-form.tsx index 40650db9..9c29381d 100644 --- a/src/shared/components/comment/comment-form.tsx +++ b/src/shared/components/comment/comment-form.tsx @@ -184,7 +184,7 @@ export class CommentForm extends Component { let data = wsJsonToRes(msg); // This only finishes this form, if the randomly generated form_id matches the one received - if (this.state.formId == data.form_id) { + if (this.state.formId && this.state.formId == data.form_id) { this.setState({ finished: true }); // Necessary because it broke tribute for some reason