瀏覽代碼

Try fixing lint error

arvid-e 7 月之前
父節點
當前提交
3b2a712abb
共有 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);