diff --git a/langflow/frontend/src/CustomNodes/GenericNode/index.tsx b/langflow/frontend/src/CustomNodes/GenericNode/index.tsx index 093a7bd6f..8e0773681 100644 --- a/langflow/frontend/src/CustomNodes/GenericNode/index.tsx +++ b/langflow/frontend/src/CustomNodes/GenericNode/index.tsx @@ -2,6 +2,7 @@ import { TrashIcon, } from "@heroicons/react/24/outline"; import { + classNames, nodeColors, nodeIcons, snakeToNormalCase, @@ -11,13 +12,13 @@ import { typesContext } from "../../contexts/typesContext"; import { useContext } from "react"; import { NodeDataType} from "../../types/flow"; -export default function GenericNode({ data}:{data:NodeDataType}) { +export default function GenericNode({ data, selected}:{data:NodeDataType,selected:boolean}) { const {types, deleteNode} = useContext(typesContext); const Icon = nodeIcons[types[data.type]]; return ( -