Skip to content

Commit

Permalink
fix(frontend): icon color
Browse files Browse the repository at this point in the history
  • Loading branch information
ElaBosak233 committed May 30, 2024
1 parent 58a78d4 commit 291f0f4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions internal/controller/submission.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion web/src/components/modals/GameTeamApplyModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default function GameTeamApplyModal(props: GameTeamApplyModalProps) {
createGameTeam(team);
}}
>
<MDIcon c={"white"}>check</MDIcon>
<MDIcon>check</MDIcon>
</ActionIcon>
</Flex>
))}
Expand Down
4 changes: 2 additions & 2 deletions web/src/pages/games/[id]/scoreboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ function Page() {
lineHeight: "2.5rem",
}}
>
<Table.Th colSpan={4}>
<Table.Th colSpan={4} w={"25%"}>
<Flex gap={20} justify={"center"}>
<Flex gap={10} align={"center"}>
<ThemeIcon variant="transparent">
Expand Down Expand Up @@ -385,7 +385,7 @@ function Page() {
align={"center"}
justify={"center"}
>
<MDIcon>
<MDIcon c={"white"}>
{
categoriedChallenge?.category
?.icon
Expand Down

0 comments on commit 291f0f4

Please sign in to comment.