diff --git a/internal/controller/submission.go b/internal/controller/submission.go
index 7f20da06..5eb77ee3 100644
--- a/internal/controller/submission.go
+++ b/internal/controller/submission.go
@@ -102,6 +102,10 @@ func (c *SubmissionController) Create(ctx *gin.Context) {
return
}
cache.C().DeleteByPrefix("submissions")
+ if status == 2 {
+ cache.C().DeleteByPrefix("challenges")
+ cache.C().DeleteByPrefix("game_challenges")
+ }
ctx.JSON(http.StatusOK, gin.H{
"code": http.StatusOK,
"rank": rank,
diff --git a/web/src/components/modals/GameTeamApplyModal.tsx b/web/src/components/modals/GameTeamApplyModal.tsx
index 22d9bbc9..90842e45 100644
--- a/web/src/components/modals/GameTeamApplyModal.tsx
+++ b/web/src/components/modals/GameTeamApplyModal.tsx
@@ -152,7 +152,7 @@ export default function GameTeamApplyModal(props: GameTeamApplyModalProps) {
createGameTeam(team);
}}
>
-