diff --git a/src/app/navbar/navbar.component.ts b/src/app/navbar/navbar.component.ts index 6eade1a..d91f047 100644 --- a/src/app/navbar/navbar.component.ts +++ b/src/app/navbar/navbar.component.ts @@ -16,7 +16,7 @@ interface NavItem { templateUrl: './navbar.component.html', styleUrls: ['./navbar.component.scss'] }) -export class NavbarComponent implements OnInit { +export class NavbarComponent { navLinks: NavItem[]; user: User; isSignedIn = isSignedIn; @@ -28,9 +28,6 @@ export class NavbarComponent implements OnInit { this._loadUser(); } - ngOnInit() { - } - isLinkActive(path: string) { return path === this.router.url; }