From 8cf3dc212c6bfc92c4753a9fbe7fefeb933bc372 Mon Sep 17 00:00:00 2001 From: Dotta Date: Sat, 6 Jun 2026 14:00:24 +0000 Subject: [PATCH] PAP-10451: fix duplicate agent error toast Co-Authored-By: Paperclip --- ui/src/components/AgentActionButtons.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/components/AgentActionButtons.tsx b/ui/src/components/AgentActionButtons.tsx index 1b4d60454aa..e43533f4da9 100644 --- a/ui/src/components/AgentActionButtons.tsx +++ b/ui/src/components/AgentActionButtons.tsx @@ -231,7 +231,7 @@ export function AgentActionButtons({ }, onError: (err) => { const message = err instanceof Error ? err.message : "Failed to duplicate agent"; - reportError(message); + onActionError?.(message); pushToast({ title: "Could not duplicate agent", body: message, tone: "error" }); }, });