PAP-10451: fix duplicate agent error toast

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-06-06 14:00:24 +00:00
1 parent ebfeb8714d
commit 8cf3dc212c
1 file changed
+1 -1
+1 -1
View File
@@ -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" });
},
});