Skip to content

Commit 1416267

Browse files
authored
Merge pull request #808 from Jxxunnn/fix/807
[view] 날짜별 커밋 및 코드 변경량 계산 오류 수정
2 parents 45471f5 + 6f66048 commit 1416267

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/view/src/components/TemporalFilter/TemporalFilter.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ const TemporalFilter = () => {
5454

5555
const clocValue = commit.diffStatistics.insertions + commit.diffStatistics.deletions;
5656

57-
commitMap.set(formattedDate, clocMapItem ? clocMapItem + 1 : 1);
58-
clocMap.set(formattedDate, commitMapItem ? commitMapItem + clocValue : clocValue);
57+
commitMap.set(formattedDate, commitMapItem ? commitMapItem + 1 : 1);
58+
clocMap.set(formattedDate, clocMapItem ? clocMapItem + clocValue : clocValue);
5959
});
6060

6161
const buildReturnArray = (map: Map<string, number>) =>

0 commit comments

Comments
 (0)