소스 검색

Indenting is getting warning in both cases

arvid-e 7 달 전
부모
커밋
e527092dcf
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      apps/app/src/features/contribution-graph/utils/contribution-graph-utils.ts

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