Skip to content

Commit 7f6914b

Browse files
authored
Update TotalReportBarGraph.jsx
1 parent d9d72c3 commit 7f6914b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Reports/TotalReport/TotalReportBarGraph.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function TotalReportBarGraph({ barData, range }) {
7272
.style('fill', 'white')
7373
.style('font-size', '20px')
7474
.style('font-weight', 'bold')
75-
.text(isNaN(d.value) ? '' : d.value);
75+
.text(Number.isNaN(d.value) ? '' : d.value);
7676
});
7777

7878

0 commit comments

Comments
 (0)