@@ -195,13 +195,8 @@ export class NavbarHomeComponent implements OnInit {
logout() {
- this.authService.logout().subscribe((response) => {
- localStorage.clear();
- this._router.navigate(['']);
- },
- (err) => {
- }
- );
+ localStorage.clear();
+ this._router.navigate(['']);
}
checkUrl() {