mirror of https://github.com/langgenius/dify.git
fix: prompt editor
This commit is contained in:
parent
53aca1a922
commit
e13f8da9d5
|
|
@ -17,7 +17,7 @@ type WorkflowVariableBlockComponentProps = {
|
|||
const WorkflowVariableBlockComponent: FC<WorkflowVariableBlockComponentProps> = ({
|
||||
nodeKey,
|
||||
variables,
|
||||
getWorkflowNode,
|
||||
getWorkflowNode = () => {},
|
||||
}) => {
|
||||
const [ref, isSelected] = useSelectOrDelete(nodeKey, DELETE_WORKFLOW_VARIABLE_BLOCK_COMMAND)
|
||||
const node = getWorkflowNode(variables[0])
|
||||
|
|
|
|||
Loading…
Reference in New Issue