Browse Source

Try fixing lint error

arvid-e 5 months ago
parent
commit
3b2a712abb

+ 2 - 2
apps/app/src/features/contribution-graph/utils/contribution-graph-utils.ts

@@ -8,8 +8,8 @@ export const getISOWeekId = (date: Date): string => {
 };
 
 export const getDaysDifference = (
-  dateFrom: Date,
-  dateTo: Date = new Date(),
+    dateFrom: Date,
+    dateTo: Date = new Date(),
 ): number => {
   const diffDays = differenceInDays(dateFrom, dateTo);
   return Math.max(0, diffDays);