diff --git a/src/shared/components/navbar.tsx b/src/shared/components/navbar.tsx index e212d376..6870c172 100644 --- a/src/shared/components/navbar.tsx +++ b/src/shared/components/navbar.tsx @@ -530,7 +530,7 @@ export class Navbar extends Component { } get canCreateCommunity(): boolean { - let adminOnly = this.props.site_res.site_view.site + let adminOnly = this.props.site_res.site_view?.site .community_creation_admin_only; return !adminOnly || this.canAdmin; }