From 7ce1a1cbca11f1ad100da2fb021c00f51e6b56d4 Mon Sep 17 00:00:00 2001 From: Abhi kumar Date: Wed, 16 Jul 2025 16:35:25 +0530 Subject: [PATCH] fix: added fix for changelog refetching multiple times on tab change (#8545) --- frontend/src/container/AppLayout/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/container/AppLayout/index.tsx b/frontend/src/container/AppLayout/index.tsx index fdcfbaa5772f..f038ca6ef89c 100644 --- a/frontend/src/container/AppLayout/index.tsx +++ b/frontend/src/container/AppLayout/index.tsx @@ -185,7 +185,8 @@ function AppLayout(props: AppLayoutProps): JSX.Element { if (!changelog && !getChangelogByVersionResponse.isLoading && isVisible) { getChangelogByVersionResponse.refetch(); } - }, [isVisible, changelog, getChangelogByVersionResponse]); + /* eslint-disable react-hooks/exhaustive-deps */ + }, [isVisible]); useEffect(() => { let timer: ReturnType;