diff --git a/src/frontend/src/CustomNodes/GenericNode/components/nodeIcon/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/nodeIcon/index.tsx index bfa14afb4..8d2081957 100644 --- a/src/frontend/src/CustomNodes/GenericNode/components/nodeIcon/index.tsx +++ b/src/frontend/src/CustomNodes/GenericNode/components/nodeIcon/index.tsx @@ -1,10 +1,5 @@ import { useTypesStore } from "@/stores/typesStore"; -import { - BG_NOISE, - iconExists, - nodeColors, - toolModeGradient, -} from "@/utils/styleUtils"; +import { iconExists, nodeColors } from "@/utils/styleUtils"; import emojiRegex from "emoji-regex"; import { useEffect, useState } from "react"; @@ -18,13 +13,11 @@ export function NodeIcon({ dataType, showNode, isGroup, - hasToolMode, }: { icon?: string; dataType: string; showNode: boolean; isGroup?: boolean; - hasToolMode: boolean; }) { const types = useTypesStore((state) => state.types); const [name, setName] = useState(types[dataType]); @@ -46,8 +39,6 @@ export function NodeIcon({ isLucideIcon ? "lucide-icon" : "integration-icon", ); - const bgToolMode = BG_NOISE + "," + toolModeGradient; - const renderIcon = () => { if (icon && isEmoji) { return {icon}; @@ -57,13 +48,10 @@ export function NodeIcon({ return (