feat(backend): update dashboard router, seed demo data, and investor agents page
This commit is contained in:
@@ -26,8 +26,14 @@ export default function AgentsPage() {
|
||||
|
||||
const load = () => {
|
||||
listAgentExecutions()
|
||||
.then((resp) => setItems((resp.data as AgentExecution[]) ?? []))
|
||||
.catch(() => setItems([]))
|
||||
.then((resp) => {
|
||||
console.log("[agents] API response:", resp);
|
||||
setItems((resp.data as AgentExecution[]) ?? []);
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error("[agents] API error:", err);
|
||||
setItems([]);
|
||||
})
|
||||
.finally(() => setIsLoading(false));
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user