fix(dashboard): unwrap nested team data from API response

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Maulana Sodiqin
2025-11-30 14:11:12 +07:00
co-authored by Claude
parent 764eb34e47
commit 45c75b3283
+2 -1
View File
@@ -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 (
<div className="mb-6 md:mb-8">
<h2 className="text-xl md:text-2xl font-bold text-gray-900 dark:text-white mb-3 md:mb-4">