Skip to content

Commit 05e1a9d

Browse files
chore: update default to be 0 when there is no total applications
1 parent e2f42e1 commit 05e1a9d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ApplicationTimeChart/ApplicationTimeChart.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function ApplicationTimeChart() {
142142
.map(item => ({
143143
role: item.role,
144144
avgTime: item.timeToApplyMinutes || (item.timeToApply ? item.timeToApply / 60 : 0),
145-
count: item.totalApplications || 1,
145+
count: item.totalApplications || 0,
146146
formattedTime:
147147
item.timeToApplyFormatted ||
148148
`${Math.round((item.timeToApplyMinutes || 0) * 10) / 10} min`,

0 commit comments

Comments
 (0)