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 SodiqinandClaude committed 2025-11-28 18:15:34 +07:00
1 parent fa30849d03
commit e1f13b3872
3 files changed
+52 -7

No files matched your search

+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;
};