diff --git a/src/components/shared/ReactFlow/FlowCanvas/TaskNode/TaskNodeCard/TaskNodeCardContent.tsx b/src/components/shared/ReactFlow/FlowCanvas/TaskNode/TaskNodeCard/TaskNodeCardContent.tsx deleted file mode 100644 index e1ba9956b..000000000 --- a/src/components/shared/ReactFlow/FlowCanvas/TaskNode/TaskNodeCard/TaskNodeCardContent.tsx +++ /dev/null @@ -1,72 +0,0 @@ -import type { ReactNode, RefObject } from "react"; - -import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; -import { BlockStack, InlineStack } from "@/components/ui/layout"; -import { Text } from "@/components/ui/typography"; -import { cn } from "@/lib/utils"; -import type { TaskNodeDimensions } from "@/types/taskNode"; - -interface TaskNodeCardContentProps { - name: string; - taskId?: string; - dimensions: TaskNodeDimensions; - selected?: boolean; - highlighted?: boolean; - isSubgraphNode?: boolean; - nodeRef?: RefObject; - onDoubleClick?: () => void; - headerActions?: ReactNode; - headerIcons?: ReactNode; - children: ReactNode; -} - -export const TaskNodeCardContent = ({ - name, - taskId, - dimensions, - selected = false, - highlighted = false, - isSubgraphNode = false, - nodeRef, - onDoubleClick, - headerActions, - headerIcons, - children, -}: TaskNodeCardContentProps) => { - return ( - - - - - {headerIcons} - - {name} - - - {taskId && - taskId !== name && - !taskId.match(new RegExp(`^${name}\\s*\\d+$`)) && ( - - {taskId} - - )} - - {headerActions} - - {children} - - ); -};