From d0db1d00fda63e908afcef466c983ecc0cda36f8 Mon Sep 17 00:00:00 2001 From: Silas Owu Date: Thu, 3 Oct 2024 14:27:20 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Feat:=20update=20logout=20functi?= =?UTF-8?q?onality?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/components/post-card/post-card.component.scss | 5 +++-- src/app/views/auth/user-profile/user-profile.component.ts | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app/components/post-card/post-card.component.scss b/src/app/components/post-card/post-card.component.scss index 647742a..3380276 100644 --- a/src/app/components/post-card/post-card.component.scss +++ b/src/app/components/post-card/post-card.component.scss @@ -41,8 +41,9 @@ } img { - width: 24px; - height: 24px; + width: 1.75rem; + height: 1.75rem; + border-radius: 50%; } } diff --git a/src/app/views/auth/user-profile/user-profile.component.ts b/src/app/views/auth/user-profile/user-profile.component.ts index f8bd376..269f20e 100644 --- a/src/app/views/auth/user-profile/user-profile.component.ts +++ b/src/app/views/auth/user-profile/user-profile.component.ts @@ -99,7 +99,7 @@ export class UserProfileComponent implements OnInit { async logOut() { try { await this.authService.logout(); - this.router.navigate(['/login']); + this.router.navigate(['/auth/login']); } catch (error) { console.error('Error logging out:', error); this.snackBar.open('Error logging out', 'Close', {