From: Dessalines Date: Sun, 24 Jan 2021 04:41:04 +0000 (-0500) Subject: Fixing switch user navbar info remnant. Fixes #128 X-Git-Url: http://these/git/%22https:/www.exeterceilidhs.net/%22%7B%7D/%7B%7D/inbox?a=commitdiff_plain;h=829b617b174e61e39a0d21ad04f30493c0b124ba;p=lemmy-ui.git Fixing switch user navbar info remnant. Fixes #128 --- diff --git a/src/shared/components/navbar.tsx b/src/shared/components/navbar.tsx index ea191b8..b4d2cbe 100644 --- a/src/shared/components/navbar.tsx +++ b/src/shared/components/navbar.tsx @@ -173,7 +173,7 @@ export class Navbar extends Component { // TODO class active corresponding to current page navbar() { - let user = this.props.site_res.my_user || UserService.Instance.user; + let user = UserService.Instance.user || this.props.site_res.my_user; return (