diff --git a/src/renderer/components/organization/agent-form/agent-form-fields/EditFormBody.tsx b/src/renderer/components/organization/agent-form/agent-form-fields/EditFormBody.tsx index ea474b49..2d55c4b3 100644 --- a/src/renderer/components/organization/agent-form/agent-form-fields/EditFormBody.tsx +++ b/src/renderer/components/organization/agent-form/agent-form-fields/EditFormBody.tsx @@ -12,7 +12,6 @@ import type { AgentFormState } from "../useAgentForm"; import { IdentitySection } from "./edit-sections/IdentitySection"; import { RuntimeSection } from "./edit-sections/RuntimeSection"; import { ConstraintsSection } from "./edit-sections/ConstraintsSection"; -import { SkillsSection } from "./edit-sections/SkillsSection"; import { EditActionBar } from "./edit-sections/EditActionBar"; import { SectionHeader } from "./edit-sections/SectionHeader"; @@ -182,7 +181,6 @@ export function EditFormBody({ onWakeNow={() => void handleWakeNow()} /> - s.skills); - const setSkills = useAppStore((s) => s.setSkills); - - useEffect(() => { - if (skills.length === 0 && companyId) { - window.agentCompany.listSkills(companyId).then((result) => { - if (result.ok) setSkills(result.data); - }); - } - }, [companyId, skills.length, setSkills]); - - return ( - - - - ); -}