From af36e71e511a0ac192b867dc72fe699d12c642d5 Mon Sep 17 00:00:00 2001 From: SidharthK2 Date: Mon, 8 Apr 2024 20:59:56 +0100 Subject: [PATCH] Fix conditional rendering in GraphComponent --- src/components/dashboard/GraphComponent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/dashboard/GraphComponent.tsx b/src/components/dashboard/GraphComponent.tsx index 826428d0..a4aa2b6e 100644 --- a/src/components/dashboard/GraphComponent.tsx +++ b/src/components/dashboard/GraphComponent.tsx @@ -181,7 +181,7 @@ const GraphComponent = ({ <> {areaGraph ? ( - {areaGraphData !== undefined ? ( + {areaGraphData !== undefined && graphCurrentValue ? (