From: Dessalines Date: Wed, 21 Jun 2023 12:16:11 +0000 (-0400) Subject: Fixing handlePostNsfwChange. X-Git-Url: http://these/git/%22https:/image.com/readmes/%22%7Burl%7D/%7B?a=commitdiff_plain;h=d2f2d7442a4dccb99c5247111429149061a00613;p=lemmy-ui.git Fixing handlePostNsfwChange. --- diff --git a/src/shared/components/post/post-form.tsx b/src/shared/components/post/post-form.tsx index 6e47759..2475d49 100644 --- a/src/shared/components/post/post-form.tsx +++ b/src/shared/components/post/post-form.tsx @@ -524,7 +524,7 @@ export class PostForm extends Component { id="post-nsfw" type="checkbox" checked={this.state.form.nsfw} - onChange={linkEvent(this, this.handlePostNsfwChange)} + onChange={linkEvent(this, handlePostNsfwChange)} />