Fix(webapp) prevent incidents url being called every frame (#2956)
This commit is contained in:
@@ -31,7 +31,7 @@ export function IncidentStatusPanel({ isCollapsed = false }: { isCollapsed?: boo
|
||||
if (fetcher.state === "idle") {
|
||||
fetcher.load("/resources/incidents");
|
||||
}
|
||||
}, [fetcher]);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if (!isManagedCloud) return;
|
||||
|
||||
Reference in New Issue
Block a user