From 06de4a5b7614d95a0f674ef93d9ebaf5eb725a73 Mon Sep 17 00:00:00 2001 From: David Lougheed Date: Thu, 15 Feb 2024 12:33:15 -0500 Subject: [PATCH] fix(charts): properly render choropleth feature 0-counts --- src/js/components/Overview/Chart.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/components/Overview/Chart.tsx b/src/js/components/Overview/Chart.tsx index a1561ebb..8b050f7f 100644 --- a/src/js/components/Overview/Chart.tsx +++ b/src/js/components/Overview/Chart.tsx @@ -62,7 +62,7 @@ const Chart = memo(({ chartConfig, data, units, id }: ChartProps) => { }} renderPopupBody={(_f, d) => ( <> - Count: {d} {units} + Count: {(d ?? 0).toString()} {units} )} />