Skip to content

Commit

Permalink
minute, minutes.
Browse files Browse the repository at this point in the history
  • Loading branch information
LutherTS committed Aug 2, 2024
1 parent 06056a4 commit 93d324e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/tektime-form-test-1/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,8 @@ function Main() {
<span className="font-medium text-neutral-800">
de
</span>{" "}
{overallAddingTime} minutes
{overallAddingTime}{" "}
{overallAddingTime === 1 ? <>minute</> : <>minutes</>}
</>
)}
{overallAddingTime >= 60 && (
Expand All @@ -392,7 +393,12 @@ function Main() {
)}{" "}
{overallAddingTimeInRemainingMinutes !== 0 && (
<>
et {overallAddingTimeInRemainingMinutes} minutes
et {overallAddingTimeInRemainingMinutes}{" "}
{overallAddingTimeInRemainingMinutes === 1 ? (
<>minute</>
) : (
<>minutes</>
)}
</>
)}
</>
Expand Down

0 comments on commit 93d324e

Please sign in to comment.