Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

fix(builder/monitor): Fix `# of runs` count on first load (#7558)

Reinier van der Leer470c738732fc
diff --git a/rnd/autogpt_builder/src/app/monitor/page.tsx b/rnd/autogpt_builder/src/app/monitor/page.tsx
index 27862f9499..6452f064fc 100644
--- a/rnd/autogpt_builder/src/app/monitor/page.tsx
+++ b/rnd/autogpt_builder/src/app/monitor/page.tsx
@@ -82,7 +82,7 @@ const Monitor = () => {
else {
flowRuns.push(flowRun)
}
- return flowRuns
+ return [...flowRuns]
}));
}));
}