From a74f0181f1d40b22e7cf49cfab118be376e7c4ae Mon Sep 17 00:00:00 2001 From: Maulana Sodiqin Date: Sat, 29 Nov 2025 16:13:16 +0700 Subject: [PATCH] fix(teams): hide edit team info for submitted teams 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 --- .claude/settings.local.json | 3 ++- apps/hackathon/src/app/teams/[teamId]/page.tsx | 14 ++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 2ae7a49..a265119 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -13,7 +13,8 @@ "Bash(libs/service/src/types/supabase.ts)", "Bash(npx nx build:*)", "Bash(git add:*)", - "Bash(git commit:*)" + "Bash(git commit:*)", + "Bash(git push)" ], "deny": [], "ask": [] diff --git a/apps/hackathon/src/app/teams/[teamId]/page.tsx b/apps/hackathon/src/app/teams/[teamId]/page.tsx index 6d46602..4eb04d8 100644 --- a/apps/hackathon/src/app/teams/[teamId]/page.tsx +++ b/apps/hackathon/src/app/teams/[teamId]/page.tsx @@ -397,12 +397,14 @@ const TeamDashboardPage: FC = (): ReactElement => { )} - - - + {!team.has_submission && ( + + + + )}