From ab002f42f821142fc23c598659df6930af78584e Mon Sep 17 00:00:00 2001 From: rngsurrounded Date: Sat, 1 Mar 2025 19:50:13 +0900 Subject: [PATCH] fix: training runner --- .../src/pages/CompetitionRunnerPage/index.tsx | 13 ++-- .../components/CompetitionCard/index.tsx | 8 +++ .../src/pages/CompetitionsPage/index.tsx | 60 +------------------ 3 files changed, 15 insertions(+), 66 deletions(-) diff --git a/services/frontend/src/pages/CompetitionRunnerPage/index.tsx b/services/frontend/src/pages/CompetitionRunnerPage/index.tsx index 8deb3a1..dc12b58 100644 --- a/services/frontend/src/pages/CompetitionRunnerPage/index.tsx +++ b/services/frontend/src/pages/CompetitionRunnerPage/index.tsx @@ -41,17 +41,16 @@ const CompetitionRunnerPage = () => { }; return ( - <> - -
-
-
-

{competitionTitle}

+ <> +
+
+
+

{competitionTitle}

{tasks.map((task) => ( -
{ + navigate(`/competition/${competition.id}`); + }; + return (
{ const [competitions] = useState(mockCompetitions);