safe param access

This commit is contained in:
Alex Holliday committed 2025-01-29 11:42:02 -08:00
1 parent cfb5c7ae5d
commit 4c3b348642
5 files changed
+8 -7

No files matched your search

@@ -19,7 +19,7 @@ const DownBarChart = memo(({ monitor, type, onBarHover }) => {
<BarChart
width="100%"
height="100%"
data={monitor.groupedDownChecks}
data={monitor?.groupedDownChecks}
onMouseEnter={() => {
setChartHovered(true);
onBarHover({ time: null, totalChecks: 0 });