From: Dessalines Date: Wed, 21 Sep 2022 14:05:54 +0000 (-0400) Subject: Fix private instance setting. Fixes #769 (#786) X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/README.md?a=commitdiff_plain;h=00790a344aa251fc216826cd2a9a1f19dabb20d9;p=lemmy-ui.git Fix private instance setting. Fixes #769 (#786) --- diff --git a/src/shared/components/home/site-form.tsx b/src/shared/components/home/site-form.tsx index e9a5b14..5602d9b 100644 --- a/src/shared/components/home/site-form.tsx +++ b/src/shared/components/home/site-form.tsx @@ -427,7 +427,7 @@ export class SiteForm extends Component { class="form-check-input" id="create-site-private-instance" type="checkbox" - value={toUndefined(this.state.siteForm.default_theme)} + checked={toUndefined(this.state.siteForm.private_instance)} onChange={linkEvent(this, this.handleSitePrivateInstance)} />