feat(hackathon): improve team member count display and submission verification

- Fix browse teams page to use member_count from API response
- Add member_count field to TTeamItem type
- Add minimum team members requirement (2) for project submission
- Add type-to-confirm verification before final submission

🤖 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-28 18:15:34 +07:00
co-authored by Claude
parent fa30849d03
commit e1f13b3872
3 changed files with 52 additions and 7 deletions
+1 -1
View File
@@ -36,6 +36,7 @@ export type TTeamItem = {
city: string;
visibility: ETeamVisibility;
leader_id: string;
member_count: number;
created_at: string;
updated_at: string;
};
@@ -43,7 +44,6 @@ export type TTeamItem = {
export type TTeamDetailItem = TTeamItem & {
leader: TUserItem;
members: TTeamMemberItem[];
member_count: number;
has_submission: boolean;
};