From 0d82a93f183a5a22630628ea383bb3b71cf1bf65 Mon Sep 17 00:00:00 2001 From: Rajat Dabade Date: Tue, 20 Jun 2023 09:07:19 +0530 Subject: [PATCH] fix: fixed the initial graph load issue for dashboard (#2938) --- frontend/src/container/GridGraphLayout/Graph/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/container/GridGraphLayout/Graph/index.tsx b/frontend/src/container/GridGraphLayout/Graph/index.tsx index 53d8ad4180..196ba14c03 100644 --- a/frontend/src/container/GridGraphLayout/Graph/index.tsx +++ b/frontend/src/container/GridGraphLayout/Graph/index.tsx @@ -54,7 +54,7 @@ function GridCardGraph({ const { ref: graphRef, inView: isGraphVisible } = useInView({ threshold: 0, triggerOnce: true, - initialInView: true, + initialInView: false, }); const { notifications } = useNotifications();