diff --git a/frontend/src/app/profile/page.tsx b/frontend/src/app/profile/page.tsx index 3dd040f..0729cfc 100644 --- a/frontend/src/app/profile/page.tsx +++ b/frontend/src/app/profile/page.tsx @@ -112,11 +112,11 @@ export default function ProfilePage() { }), Promise.all([ api.getMatchLikesReceived(token).catch(() => []), - api.getMutualMatches(token).catch(() => []), + api.getMutualMatches(token).catch(() => ({ items: [] })), api.getConversations(token).catch(() => []), ]).then(([likes, matches, chats]) => ({ likes: likes.length, - matches: matches.length, + matches: matches.items?.length ?? 0, chats: chats.length, })), ]).then(([s, f, v, myMeetups, connectStats]) => {