fix(client): allow clicking empty cells to view historical incidents

This commit is contained in:
nikhil2004 committed 2026-09-22 03:31:14 +05:30
1 parent be39ad0bfe
commit 97e23e4b3a
2 files changed
+18 -2

No files matched your search

@@ -31,7 +31,15 @@ export const ThemedHeatmap = ({ cells, containerSx, cellSx, onCellClick }: Props
return (
<Box
key={cell.key}
sx={cellSx("empty")}
sx={[
cellSx("empty"),
!!cell.date && !!onCellClick && { cursor: "pointer" },
]}
onClick={() => {
if (cell.date && onCellClick) {
onCellClick(cell.date);
}
}}
/>
);
}