From f1ab31ad8a7b5148903790b227db5a24d0b2eedf Mon Sep 17 00:00:00 2001 From: Kornilovich Mikhail Date: Wed, 24 Jul 2024 21:15:01 +0300 Subject: [PATCH] fix const --- .../overlay/src/components/organisms/holder/TimeLine.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/overlay/src/components/organisms/holder/TimeLine.jsx b/src/frontend/overlay/src/components/organisms/holder/TimeLine.jsx index 80836321f..3669bc20a 100644 --- a/src/frontend/overlay/src/components/organisms/holder/TimeLine.jsx +++ b/src/frontend/overlay/src/components/organisms/holder/TimeLine.jsx @@ -111,7 +111,7 @@ export const TimeLine = ({ className, teamId }) => { const getColor = (problemResult) => { if (problemResult.type === RunResult.Type.IN_PROGRESS) { return c.VERDICT_UNKNOWN; - } else if (problemResult.type === "ICPC") { + } else if (problemResult.type === RunResult.Type.ICPC) { if (problemResult.isAccepted) { return c.VERDICT_OK; } else {