arvid-e пре 5 месеци
родитељ
комит
4ecf1e3a80

+ 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 daysSinceLastUpdate = (
 export const daysSinceLastUpdate = (
-    lastUpdateDate: Date,
-    currentDate: Date = new Date(),
+  lastUpdateDate: Date,
+  currentDate: Date = new Date(),
 ): number => {
 ): number => {
   const diffDays = differenceInDays(lastUpdateDate, currentDate);
   const diffDays = differenceInDays(lastUpdateDate, currentDate);
   return Math.max(0, diffDays);
   return Math.max(0, diffDays);