mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-17 15:36:48 +00:00
fix: added fix for changelog refetching multiple times on tab change (#8545)
This commit is contained in:
parent
e2253ec7c0
commit
7ce1a1cbca
@ -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>;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user