Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hamster1963 committed Dec 19, 2024
1 parent 5e6f70b commit e0bf568
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,9 @@ export function getDaysBetweenDatesWithAutoRenewal({
days: getDaysBetweenDates(endDate, new Date(nowTime).toISOString()),
cycleLabel: cycleLabel,
remainingPercentage:
getDaysBetweenDates(endDate, new Date(nowTime).toISOString()) /
(30 * months) >
1
getDaysBetweenDates(endDate, new Date(nowTime).toISOString()) / (30 * months) > 1
? 1
: getDaysBetweenDates(endDate, new Date(nowTime).toISOString()) /
(30 * months),
: getDaysBetweenDates(endDate, new Date(nowTime).toISOString()) / (30 * months),
}
}

Expand Down

0 comments on commit e0bf568

Please sign in to comment.