diff --git a/frontend/src/agents/NewAgent.tsx b/frontend/src/agents/NewAgent.tsx index 1228a724..b3047fa9 100644 --- a/frontend/src/agents/NewAgent.tsx +++ b/frontend/src/agents/NewAgent.tsx @@ -320,11 +320,6 @@ export default function NewAgent({ mode }: { mode: 'new' | 'edit' | 'draft' }) { !isEqual(agent, initialAgentRef.current) || imageFile !== null; setHasChanges(isChanged); }, [agent, dispatch, effectiveMode, imageFile]); - - useEffect(() => { - console.log(initialAgentRef.current); - console.log(agent); - }, [agent, initialAgentRef.current]); return (
@@ -705,7 +700,7 @@ function AddPromptModal({ setNewPromptContent(''); onSelect?.(newPromptName, newPrompt.id, newPromptContent); } catch (error) { - console.error(error); + console.error('Error adding prompt:', error); } }; return (