mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-02-04 12:40:10 +00:00
fix: lint
This commit is contained in:
@@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user