Skip to content

Commit a319087

Browse files
committed
contest-tile: update cohort language in the countdown
1 parent c88c666 commit a319087

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/ContestTile/ContestTile.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,17 +138,17 @@ export const ContestCountdown = ({
138138
text = "Starts in ";
139139
} else if (schedule.contestStatus === Status.LIVE) {
140140
if (schedule.status === AuditStatus.Paused && schedule.resume && +schedule.resume >= Date.now()) {
141-
text = "Next cohort starts in ";
141+
text = "Next submission phase starts in ";
142142
start = schedule.resume.toISOString();
143143
} else if (schedule.status === AuditStatus.Paused && schedule.resume && +schedule.resume <= Date.now()) {
144144
// The resume time has elapsed, give a generic time for now
145145
return (
146146
<div className="countdown">
147-
{"Next cohort starts soon"}
147+
Next submission phase starts soon
148148
</div>
149149
);
150150
} else if (schedule.status === AuditStatus.Active && schedule.pause && +schedule.pause >= Date.now()) {
151-
text = "Current cohort ends in ";
151+
text = "Current submission phase ends in ";
152152
end = schedule.pause.toISOString();
153153
}
154154
}

0 commit comments

Comments
 (0)