Associate NSFW label with its checkbox

This commit is contained in:
Dominic Mazzoni 2023-06-25 21:11:23 -07:00 committed by Jay Sitter
parent 8fd08e58e3
commit 9dc25f2247

View file

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