Fix variable typo (#8084)

This commit is contained in:
Nam Vu
2024-09-08 12:14:11 +07:00
committed by GitHub
parent b1918dae5e
commit 2d7954c7da
215 changed files with 599 additions and 597 deletions

View File

@@ -1,5 +1,5 @@
import { memo, useCallback } from 'react'
import type { WorkflowDataUpdator } from '../types'
import type { WorkflowDataUpdater } from '../types'
import Run from '../run'
import { useStore } from '../store'
import { useWorkflowUpdate } from '../hooks'
@@ -9,7 +9,7 @@ const Record = () => {
const { handleUpdateWorkflowCanvas } = useWorkflowUpdate()
const handleResultCallback = useCallback((res: any) => {
const graph: WorkflowDataUpdator = res.graph
const graph: WorkflowDataUpdater = res.graph
handleUpdateWorkflowCanvas({
nodes: graph.nodes,
edges: graph.edges,