fix: mutation fix and date range helper fn added

This commit is contained in:
Anmol Singh Bhatia 2023-03-03 13:49:19 +05:30
parent 02e4e58f19
commit f965734f3b
3 changed files with 43 additions and 5 deletions

View file

@ -128,7 +128,7 @@ export const CycleDetailsSidebar: React.FC<Props> = ({
<Squares2X2Icon className="h-4 w-4 flex-shrink-0" />
{cycleStatus === "current"
? "In Progress"
: cycleStatus === "past"
: cycleStatus === "completed"
? "Completed"
: cycleStatus === "upcoming"
? "Upcoming"