Remove code block from node list (#913)

This commit is contained in:
Kerem Yilmaz
2024-10-04 22:44:38 -07:00
committed by GitHub
parent aedb7d2cc8
commit 9fe8dcbb00

View File

@@ -1,6 +1,5 @@
import { useWorkflowPanelStore } from "@/store/WorkflowPanelStore"; import { useWorkflowPanelStore } from "@/store/WorkflowPanelStore";
import { import {
CodeIcon,
Cross2Icon, Cross2Icon,
CursorTextIcon, CursorTextIcon,
DownloadIcon, DownloadIcon,
@@ -44,12 +43,13 @@ const nodeLibraryItems: Array<{
title: "Send Email Block", title: "Send Email Block",
description: "Sends an email", description: "Sends an email",
}, },
{ // temporarily removed
nodeType: "codeBlock", // {
icon: <CodeIcon className="h-6 w-6" />, // nodeType: "codeBlock",
title: "Code Block", // icon: <CodeIcon className="h-6 w-6" />,
description: "Executes Python code", // title: "Code Block",
}, // description: "Executes Python code",
// },
{ {
nodeType: "fileParser", nodeType: "fileParser",
icon: <FileIcon className="h-6 w-6" />, icon: <FileIcon className="h-6 w-6" />,