run by single

This commit is contained in:
StyleZhang
2024-03-01 19:09:27 +08:00
parent 0ca23bb840
commit 68e9530507
6 changed files with 38 additions and 6 deletions

View File

@ -9,7 +9,6 @@ import {
import type { NodeProps } from 'reactflow'
import BlockIcon from '../../block-icon'
import { useWorkflow } from '../../hooks'
import NodeControl from './components/node-control'
type BaseNodeProps = {
children: ReactElement
@ -32,7 +31,6 @@ const BaseNode: FC<BaseNodeProps> = ({
`}
onClick={() => handleSelectNode(id)}
>
<NodeControl />
<div className='flex items-center px-3 pt-3 pb-2'>
<BlockIcon
className='shrink-0 mr-2'