X-Git-Url: http://these/git/?a=blobdiff_plain;f=src%2Fshared%2Fcomponents%2Fhome%2Fsite-sidebar.tsx;fp=src%2Fshared%2Fcomponents%2Fhome%2Fsite-sidebar.tsx;h=66a48ca11e095ec909343a4ba94a170c9eb3baca;hb=8bbb6c9652bbbfda1ca9cc41592c413549f16c75;hp=5f32e59e69058917bfde3a00db985f2559886aee;hpb=f8f1f49250dc26a2cb4b48bf707a684f0c75337a;p=lemmy-ui.git diff --git a/src/shared/components/home/site-sidebar.tsx b/src/shared/components/home/site-sidebar.tsx index 5f32e59..66a48ca 100644 --- a/src/shared/components/home/site-sidebar.tsx +++ b/src/shared/components/home/site-sidebar.tsx @@ -12,7 +12,6 @@ interface SiteSidebarProps { showLocal: boolean; counts?: SiteAggregates; admins?: PersonView[]; - online?: number; } interface SiteSidebarState { @@ -30,7 +29,7 @@ export class SiteSidebar extends Component { render() { return ( -
+
{this.siteName()}
@@ -42,7 +41,7 @@ export class SiteSidebar extends Component { )}
-
+ ); } @@ -72,9 +71,7 @@ export class SiteSidebar extends Component {
{site.description &&
{site.description}
} {site.sidebar && this.siteSidebar(site.sidebar)} - {this.props.counts && ( - - )} + {this.props.counts && } {this.props.admins && this.admins(this.props.admins)}
);