Skip to content

Commit 65eb4e0

Browse files
committed
Implement GenericJobList with an additional footer
1 parent 9396b15 commit 65eb4e0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/shared/projects/DetailedUsage.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ function Item({ label, value, color }: { label: string; value: number; color: st
3030
<div className={clsx('h-2 w-2 rounded-full', color)} />
3131

3232
<div className="leading-none">
33-
<span className="text-slate-500">{label}:</span> <span className="font-medium">{value} months</span>
33+
<span className="text-slate-500">{label}:</span>{' '}
34+
<span className="font-medium">
35+
{value} month{value > 1 ? 's' : ''}
36+
</span>
3437
</div>
3538
</div>
3639
);

0 commit comments

Comments
 (0)