fix: use shortcut not delete vars

This commit is contained in:
Joel 2025-05-26 13:58:58 +08:00
parent ddd3136abd
commit 4202ec771f

View File

@ -659,7 +659,7 @@ export const useNodesInteractions = () => {
else else
saveStateToHistory(WorkflowHistoryEvent.NodeDelete) saveStateToHistory(WorkflowHistoryEvent.NodeDelete)
}, [getNodesReadOnly, store, handleSyncWorkflowDraft, saveStateToHistory, workflowStore, t]) }, [getNodesReadOnly, store, deleteNodeInspectorVars, handleSyncWorkflowDraft, saveStateToHistory, workflowStore, t])
const handleNodeAdd = useCallback<OnNodeAdd>(( const handleNodeAdd = useCallback<OnNodeAdd>((
{ {