mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 22:01:13 +00:00
Fixing handlePostNsfwChange.
This commit is contained in:
parent
c1e2168a43
commit
d2f2d7442a
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue