From 45c75b3283d3af2b9663a0075bfd7c5dc9c0f5cc Mon Sep 17 00:00:00 2001 From: Maulana Sodiqin Date: Sun, 30 Nov 2025 14:11:12 +0700 Subject: [PATCH] fix(dashboard): unwrap nested team data from API response MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/hackathon/src/app/dashboard/page.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/hackathon/src/app/dashboard/page.tsx b/apps/hackathon/src/app/dashboard/page.tsx index 27a597e..e14b7ba 100644 --- a/apps/hackathon/src/app/dashboard/page.tsx +++ b/apps/hackathon/src/app/dashboard/page.tsx @@ -131,7 +131,8 @@ const DashboardPage: FC = (): ReactElement => { {myTeams.length > 0 ? ( (() => { - const team = myTeams[0] as any; + const item = myTeams[0] as any; + const team = item.team || item; return (