diff --git a/apps/hackathon/src/app/dashboard/page.tsx b/apps/hackathon/src/app/dashboard/page.tsx index e07863a..27a597e 100644 --- a/apps/hackathon/src/app/dashboard/page.tsx +++ b/apps/hackathon/src/app/dashboard/page.tsx @@ -130,14 +130,14 @@ const DashboardPage: FC = (): ReactElement => { )} {myTeams.length > 0 ? ( -
-

- My Team -

-
- {myTeams.map((team: any) => ( + (() => { + const team = myTeams[0] as any; + return ( +
+

+ My Team +

@@ -146,24 +146,24 @@ const DashboardPage: FC = (): ReactElement => { alt={team.name} className="w-full aspect-3/1 object-cover" /> -
-
+
+
{team.logo ? ( {team.name} ) : ( -
- +
+
)}
-

+

{team.name}

-
+
{team.has_submission && ( @@ -184,15 +184,15 @@ const DashboardPage: FC = (): ReactElement => {
{team.description && ( -

+

{team.description}

)}
- ))} -
-
+
+ ); + })() ) : (