Skip to content

Commit

Permalink
fix const
Browse files Browse the repository at this point in the history
  • Loading branch information
Mond1c committed Jul 24, 2024
1 parent 5739e4b commit f1ab31a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f1ab31a

Please sign in to comment.