mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-27 19:09:12 +00:00
Fixing handlePostNsfwChange.
This commit is contained in:
parent
c1e2168a43
commit
d2f2d7442a
|
@ -524,7 +524,7 @@ export class PostForm extends Component<PostFormProps, PostFormState> {
|
|||
id="post-nsfw"
|
||||
type="checkbox"
|
||||
checked={this.state.form.nsfw}
|
||||
onChange={linkEvent(this, this.handlePostNsfwChange)}
|
||||
onChange={linkEvent(this, handlePostNsfwChange)}
|
||||
/>
|
||||
<label className="form-check-label">{i18n.t("nsfw")}</label>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue