diff --git a/src/shared/components/home/site-sidebar.tsx b/src/shared/components/home/site-sidebar.tsx index 78090dd9..52ecbbc7 100644 --- a/src/shared/components/home/site-sidebar.tsx +++ b/src/shared/components/home/site-sidebar.tsx @@ -1,3 +1,4 @@ +import classNames from "classnames"; import { Component, linkEvent } from "inferno"; import { PersonView, Site, SiteAggregates } from "lemmy-js-client"; import { mdToHtml } from "../../markdown"; @@ -32,10 +33,7 @@ export class SiteSidebar extends Component { return (
-
+
{this.siteName()} {!this.state.collapsed && ( @@ -54,7 +52,7 @@ export class SiteSidebar extends Component { siteName() { return ( - <> +
{this.props.site.name}
{!this.props.isMobile && ( )} - +
); }