Skip to content

Commit

Permalink
fix(charts): properly render choropleth feature 0-counts
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Feb 15, 2024
1 parent f678f1d commit 06de4a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/components/Overview/Chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const Chart = memo(({ chartConfig, data, units, id }: ChartProps) => {
}}
renderPopupBody={(_f, d) => (
<>
Count: {d} {units}
Count: {(d ?? 0).toString()} {units}
</>
)}
/>
Expand Down

0 comments on commit 06de4a5

Please sign in to comment.