Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

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

Abhi kumar7ce1a1cbca11
diff --git a/frontend/src/container/AppLayout/index.tsx b/frontend/src/container/AppLayout/index.tsx
index fdcfbaa577..f038ca6ef8 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<typeof setTimeout>;