diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeAdvancedToggle.tsx b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeAdvancedToggle.tsx index 950db1657f..c3485e2329 100644 --- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeAdvancedToggle.tsx +++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/CustomNode/components/NodeAdvancedToggle.tsx @@ -1,6 +1,7 @@ import { useNodeStore } from "@/app/(platform)/build/stores/nodeStore"; -import { Switch } from "@/components/atoms/Switch/Switch"; +import { Button } from "@/components/atoms/Button/Button"; import { Text } from "@/components/atoms/Text/Text"; +import { CaretDownIcon } from "@phosphor-icons/react"; export const NodeAdvancedToggle = ({ nodeId }: { nodeId: string }) => { const showAdvanced = useNodeStore( @@ -8,14 +9,24 @@ export const NodeAdvancedToggle = ({ nodeId }: { nodeId: string }) => { ); const setShowAdvanced = useNodeStore((state) => state.setShowAdvanced); return ( -
- - Advanced - - setShowAdvanced(nodeId, checked)} - checked={showAdvanced} - /> +
+
); };