X-Git-Url: http://these/git/?a=blobdiff_plain;f=src%2Fshared%2Fcomponents%2Fcommunity%2Fcommunity-form.tsx;h=e44675c91c608256aad56729ef91fb0de0f118cf;hb=9f2289d46600385354d3673b0ef2ba921a1fbe49;hp=6200c7ffef0709c57528e53b07844bea6191818b;hpb=3d58baea7cbfc4a74a7846bf94ba910cd4981d89;p=lemmy-ui.git diff --git a/src/shared/components/community/community-form.tsx b/src/shared/components/community/community-form.tsx index 6200c7f..e44675c 100644 --- a/src/shared/components/community/community-form.tsx +++ b/src/shared/components/community/community-form.tsx @@ -231,7 +231,7 @@ export class CommunityForm extends Component< checked={this.state.form.posting_restricted_to_mods} onChange={linkEvent( this, - this.handleCommunityPostingRestrictedToMods + this.handleCommunityPostingRestrictedToMods, )} /> @@ -330,7 +330,7 @@ export class CommunityForm extends Component< handleCommunityPostingRestrictedToMods(i: CommunityForm, event: any) { i.setState( - s => ((s.form.posting_restricted_to_mods = event.target.checked), s) + s => ((s.form.posting_restricted_to_mods = event.target.checked), s), ); }