From: Dessalines Date: Tue, 4 May 2021 17:57:02 +0000 (-0400) Subject: Fix duped site description. Fixes #281 X-Git-Url: http://these/git/%22%7Burl%7D/%22https:/image.com/%7BdonateLemmyUrl%7D?a=commitdiff_plain;h=f1f8757dd2016e01ab3f3df8faa802fe529665ce;p=lemmy-ui.git Fix duped site description. Fixes #281 --- diff --git a/src/shared/components/main.tsx b/src/shared/components/main.tsx index 94d085a..6737974 100644 --- a/src/shared/components/main.tsx +++ b/src/shared/components/main.tsx @@ -412,7 +412,8 @@ export class Main extends Component { } siteName() { - return
{`${this.documentTitle}`}
; + let site = this.state.siteRes.site_view.site; + return site.name &&
{site.name}
; } admins() {