Просмотр исходного кода

Indenting is getting warning in both cases

arvid-e 5 месяцев назад
Родитель
Сommit
e527092dcf

+ 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);