From a62cf057e87d8e2ea35d363ff96971238bc1355e Mon Sep 17 00:00:00 2001 From: eric Date: Fri, 4 Sep 2026 06:53:48 -0500 Subject: [PATCH] Fix profile Connect stats TypeScript for mutual matches shape. Co-authored-by: Cursor --- frontend/src/app/profile/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]) => {