Fix(webapp) prevent incidents url being called every frame (#2956)

This commit is contained in:
James Ritchie
2026-01-27 18:33:36 +00:00
committed by GitHub
parent d4e4fbd7fc
commit 34203d6a6f
@@ -31,7 +31,7 @@ export function IncidentStatusPanel({ isCollapsed = false }: { isCollapsed?: boo
if (fetcher.state === "idle") {
fetcher.load("/resources/incidents");
}
}, [fetcher]);
}, []);
useEffect(() => {
if (!isManagedCloud) return;