arvid-e 5 miesięcy temu
rodzic
commit
2bcd825ea6

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

@@ -7,10 +7,7 @@ export const getISOWeekId = (date: Date): string => {
   return format(date, "RRRR-'W'II");
 };
 
-export const getDaysDifference = (
-    dateFrom: Date,
-    dateTo: Date = new Date(),
-): number => {
+export const getDaysDifference = (dateFrom: Date, dateTo: Date = new Date()): number => {
   const diffDays = differenceInDays(dateFrom, dateTo);
   return Math.max(0, diffDays);
 };