From 7a4aa68706376f9d2c431437e9a7f020ffc40bae Mon Sep 17 00:00:00 2001 From: Frank Date: Wed, 3 Dec 2025 18:12:23 -0500 Subject: [PATCH] zen: fix chart loading closes #5030 --- .../console/app/src/routes/workspace/[id]/graph-section.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/console/app/src/routes/workspace/[id]/graph-section.tsx b/packages/console/app/src/routes/workspace/[id]/graph-section.tsx index 2423605d2..46418d618 100644 --- a/packages/console/app/src/routes/workspace/[id]/graph-section.tsx +++ b/packages/console/app/src/routes/workspace/[id]/graph-section.tsx @@ -221,6 +221,8 @@ export function GraphSection() { const isCurrentMonth = () => store.year === now.getFullYear() && store.month === now.getMonth() const chartConfig = createMemo((): ChartConfiguration | null => { + if (typeof window === "undefined") return null + const data = getData() const dates = getDates() if (!data?.usage?.length) return null