From 0d006de09fda65758608892781301f965daed2f5 Mon Sep 17 00:00:00 2001 From: PolyTinder <146553756+PolyTinder@users.noreply.github.com> Date: Fri, 27 Oct 2023 00:49:30 +0200 Subject: [PATCH] Fix/bugfix (#50) * remove unused fetch * remove style * optimize image loading --- packages/client/src/index.html | 4 ++-- .../matching/pages/matches-page/matches-page.component.ts | 6 ------ .../user-profile-card/user-profile-card.component.html | 5 ++++- .../user-profile-card/user-profile-card.component.scss | 4 ++-- packages/client/src/styles.scss | 2 +- 5 files changed, 9 insertions(+), 12 deletions(-) diff --git a/packages/client/src/index.html b/packages/client/src/index.html index eadca6b..d72b570 100644 --- a/packages/client/src/index.html +++ b/packages/client/src/index.html @@ -1,5 +1,5 @@ - + PolyTinder @@ -59,7 +59,7 @@ - + diff --git a/packages/client/src/modules/matching/pages/matches-page/matches-page.component.ts b/packages/client/src/modules/matching/pages/matches-page/matches-page.component.ts index 9122f50..90a7776 100644 --- a/packages/client/src/modules/matching/pages/matches-page/matches-page.component.ts +++ b/packages/client/src/modules/matching/pages/matches-page/matches-page.component.ts @@ -42,12 +42,6 @@ export class MatchesPageComponent { this.hasConversations = this.conversations.pipe( map((conversations) => conversations.length > 0), ); - - this.validationService.userValid.subscribe((userValid) => { - if (userValid) { - this.publicProfileService.fetchMatches().subscribe(); - } - }); } get userValid() { diff --git a/packages/client/src/modules/user-profile/components/user-profile-card/user-profile-card.component.html b/packages/client/src/modules/user-profile/components/user-profile-card/user-profile-card.component.html index ecd9156..e963f20 100644 --- a/packages/client/src/modules/user-profile/components/user-profile-card/user-profile-card.component.html +++ b/packages/client/src/modules/user-profile/components/user-profile-card/user-profile-card.component.html @@ -3,10 +3,13 @@
+