diff options
author | Dessalines <tyhou13@gmx.com> | 2019-04-16 16:04:23 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-04-16 16:04:23 -0700 |
commit | 3f33cf8dcb53d20e67d8abc9214c7192a28dca94 (patch) | |
tree | aab1da1b0eb54d6d0cb1e00f4f38cb218901ac53 /ui/src/components/navbar.tsx | |
parent | e94885eb97b3240ed9cec7f97d0f405b2819e922 (diff) |
Before big moderation merge
Diffstat (limited to 'ui/src/components/navbar.tsx')
-rw-r--r-- | ui/src/components/navbar.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/src/components/navbar.tsx b/ui/src/components/navbar.tsx index 64bf6e01..ae693825 100644 --- a/ui/src/components/navbar.tsx +++ b/ui/src/components/navbar.tsx @@ -1,6 +1,5 @@ import { Component, linkEvent } from 'inferno'; import { Link } from 'inferno-router'; -import { repoUrl } from '../utils'; import { UserService } from '../services'; import { version } from '../version'; @@ -13,7 +12,7 @@ interface NavbarState { export class Navbar extends Component<any, NavbarState> { emptyState: NavbarState = { - isLoggedIn: UserService.Instance.loggedIn, + isLoggedIn: UserService.Instance.user !== undefined, expanded: false, expandUserDropdown: false } @@ -51,9 +50,6 @@ export class Navbar extends Component<any, NavbarState> { <div className={`${!this.state.expanded && 'collapse'} navbar-collapse`}> <ul class="navbar-nav mr-auto"> <li class="nav-item"> - <a class="nav-link" href={repoUrl}>About</a> - </li> - <li class="nav-item"> <Link class="nav-link" to="/communities">Forums</Link> </li> <li class="nav-item"> |