diff --git a/libs/client/shared/src/components/charts/time-series/Chart.tsx b/libs/client/shared/src/components/charts/time-series/Chart.tsx index 40ca37fe..0cdb2574 100644 --- a/libs/client/shared/src/components/charts/time-series/Chart.tsx +++ b/libs/client/shared/src/components/charts/time-series/Chart.tsx @@ -49,6 +49,7 @@ export function Chart({ // Prevent chart errors from crashing entire UI {({ width, height }) => { + if (!width || !height || width <= 0 || height <= 0) return null return ( // Set to relative for error boundary overlay