Skip to content

Commit 34203d6

Browse files
authored
Fix(webapp) prevent incidents url being called every frame (#2956)
1 parent d4e4fbd commit 34203d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/routes/resources.incidents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function IncidentStatusPanel({ isCollapsed = false }: { isCollapsed?: boo
3131
if (fetcher.state === "idle") {
3232
fetcher.load("/resources/incidents");
3333
}
34-
}, [fetcher]);
34+
}, []);
3535

3636
useEffect(() => {
3737
if (!isManagedCloud) return;

0 commit comments

Comments
 (0)