diff --git a/src/utils/dateUtils.ts b/src/utils/dateUtils.ts index 686f843a..ce6e42fc 100644 --- a/src/utils/dateUtils.ts +++ b/src/utils/dateUtils.ts @@ -6,7 +6,7 @@ export const datesToDue = (date: string) => { return eventDate.diff(today, 'days'); }; -export const byDays = (a: object, b: object) => { +export const byDays = (a: any, b: any) => { switch(true) { case a.days < b.days: return -1;