From: Dessalines Date: Sun, 6 Dec 2020 02:26:01 +0000 (-0600) Subject: Trying to fix site loading errors. #104 X-Git-Url: http://these/git/%7B%60/feeds/front/static/%7BpictrsAvatarThumbnail%28this.state.siteRes.site.icon%29%7D?a=commitdiff_plain;h=3278576927d2cc6bed14870a3ca1b6cafdb26806;p=lemmy-ui.git Trying to fix site loading errors. #104 --- diff --git a/src/shared/components/navbar.tsx b/src/shared/components/navbar.tsx index b029ce0..f5a4c14 100644 --- a/src/shared/components/navbar.tsx +++ b/src/shared/components/navbar.tsx @@ -165,7 +165,7 @@ export class Navbar extends Component { // TODO class active corresponding to current page navbar() { - let user = UserService.Instance.user; + let user = this.props.site.my_user; return (