Skip to content

Commit 349783f

Browse files
authored
Merge pull request #2009 from kleros/chore/timeline-clarify-remaining-time
chore: timeline clarify remaining time
2 parents 1ca9066 + ad47783 commit 349783f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

web/src/pages/Cases/CaseDetails/Timeline.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,10 @@ const AppealBanner: React.FC = () => {
8383
const { fundedChoices } = useFundingContext();
8484

8585
const text = useMemo(() => {
86-
if (loserSideCountdown)
87-
return `${secondsToDayHourMinute(loserSideCountdown)} left until losing options can be funded`;
86+
if (loserSideCountdown) return `${secondsToDayHourMinute(loserSideCountdown)} remaining to fund losing options`;
8887
// only show if loosing option was funded and winner needs funding, else no action is needed from user
8988
if (winnerSideCountdown && !isUndefined(fundedChoices) && fundedChoices.length > 0)
90-
return `${secondsToDayHourMinute(winnerSideCountdown)} left until winning option can be funded`;
89+
return `${secondsToDayHourMinute(winnerSideCountdown)} remaining to fund winning option`;
9190
return;
9291
}, [loserSideCountdown, winnerSideCountdown, fundedChoices]);
9392

0 commit comments

Comments
 (0)