mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 20:31:13 +00:00
parent
1dd86fdf91
commit
3ad7644725
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ export class CommentForm extends Component<CommentFormProps, CommentFormState> {
|
||||||
let data = wsJsonToRes<CommentResponse>(msg);
|
let data = wsJsonToRes<CommentResponse>(msg);
|
||||||
|
|
||||||
// This only finishes this form, if the randomly generated form_id matches the one received
|
// 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 });
|
this.setState({ finished: true });
|
||||||
|
|
||||||
// Necessary because it broke tribute for some reason
|
// Necessary because it broke tribute for some reason
|
||||||
|
|
Loading…
Reference in a new issue