Skip to content

Commit

Permalink
fix type in match-interests.ts (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinBurri authored Nov 19, 2024
1 parent 2124bc3 commit 87c0111
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,7 @@ export class MatchInterestsComponent {
private matchService = inject(PotentialMatchService);

user = this.matchService.otherProfileData;
interests = computed(() => this.user().interests);
interests = computed(() => {
return this.user().interests || [];
});
}

0 comments on commit 87c0111

Please sign in to comment.