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