diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts index b7a3d7c58..5764f24ca 100644 --- a/client/src/app/app.component.ts +++ b/client/src/app/app.component.ts @@ -47,6 +47,8 @@ export class AppComponent { logout() { this.authService.logout(); + // Redirect to home page + this.router.navigate(['/videos/list']); } makeFriends() {