From 45eb201efdb1417b2537304b92d74ebfcc9450f4 Mon Sep 17 00:00:00 2001 From: Palash gupta Date: Fri, 11 Feb 2022 14:09:05 +0530 Subject: [PATCH] bug: dashboard graph is now fixed --- frontend/src/components/Graph/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/Graph/index.tsx b/frontend/src/components/Graph/index.tsx index eac5ae2712..b6905495d4 100644 --- a/frontend/src/components/Graph/index.tsx +++ b/frontend/src/components/Graph/index.tsx @@ -148,7 +148,7 @@ const Graph = ({ useEffect(() => { buildChart(); - }, []); + }, [buildChart]); return (