Fixing handlePostNsfwChange.

This commit is contained in:
Dessalines 2023-06-21 08:16:11 -04:00
parent c1e2168a43
commit d2f2d7442a

View file

@ -524,7 +524,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
id="post-nsfw" id="post-nsfw"
type="checkbox" type="checkbox"
checked={this.state.form.nsfw} checked={this.state.form.nsfw}
onChange={linkEvent(this, this.handlePostNsfwChange)} onChange={linkEvent(this, handlePostNsfwChange)}
/> />
<label className="form-check-label">{i18n.t("nsfw")}</label> <label className="form-check-label">{i18n.t("nsfw")}</label>
</div> </div>