Skip to content

Commit 7a3c513

Browse files
committed
fix(submission-management): challenge.status at conditional check
Fix `challenge.status` at conditional check. The status property of a completed challenge was `COMPLETED` before, it's `Completed` anymore.
1 parent 5503702 commit 7a3c513

File tree

1 file changed

+1
-1
lines changed
  • src/shared/components/SubmissionManagement/SubmissionManagement

1 file changed

+1
-1
lines changed

src/shared/components/SubmissionManagement/SubmissionManagement/index.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default function SubmissionManagement(props) {
8686
)
8787
}
8888
{
89-
challenge.status !== 'COMPLETED' ? (
89+
challenge.status !== 'Completed' ? (
9090
<div>
9191
<p styleName="time-left">
9292
{days > 0 && (`${days}D`)}

0 commit comments

Comments
 (0)