]> Untitled Git - lemmy-ui.git/commitdiff
Merge branch 'main' into chore/fix-unnecessary-string-interpolation
authorSleeplessOne1917 <abias1122@gmail.com>
Mon, 26 Jun 2023 10:18:14 +0000 (10:18 +0000)
committerGitHub <noreply@github.com>
Mon, 26 Jun 2023 10:18:14 +0000 (10:18 +0000)
src/shared/components/post/post-form.tsx

index 081792aa0e35841df6cefbe79728d653946621a4..84ea77ae86453f2035d2b8627c9bf7dd29a50b66 100644 (file)
@@ -531,7 +531,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>