fix: added fix for changelog refetching multiple times on tab change (#8545)

This commit is contained in:
Abhi kumar 2025-07-16 16:35:25 +05:30 committed by GitHub
parent e2253ec7c0
commit 7ce1a1cbca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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<typeof setTimeout>;