From: Dessalines Date: Wed, 21 Jun 2023 12:16:11 +0000 (-0400) Subject: Fixing handlePostNsfwChange. X-Git-Url: http://these/git/%22/display/44b525e5-4101b003e005e70a-d472d963/static/%7Bthis.state.post.url%7D?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)} />