Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
> to >=
Browse files Browse the repository at this point in the history
  • Loading branch information
Vucis committed May 23, 2024
1 parent 28fd970 commit a1f1492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/Courses/CourseUtilComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ function EmptyOrNotProjects({
const diffDays = Math.floor(diffHours / 24);

timeLeft =
diffDays > 1 ? `${diffDays} days` : `${diffHours} hours`;
diffDays >= 1 ? `${diffDays} days` : `${diffHours} hours`;
}
}
return (
Expand Down

0 comments on commit a1f1492

Please sign in to comment.