Skip to content

Commit cad7692

Browse files
committed
fix build error (missing import)
1 parent b2729f3 commit cad7692

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/agentflow/src/features/canvas/hooks/useOpenNodeEditor.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ describe('useOpenNodeEditor', () => {
2727
jest.clearAllMocks()
2828
mockNodes = [
2929
makeFlowNode('node-1', {
30-
data: { name: 'llmAgentflow', label: 'LLM', inputValues: { model: 'gpt-4' } }
30+
data: { id: 'node-1', name: 'llmAgentflow', label: 'LLM', inputValues: { model: 'gpt-4' } }
3131
}),
3232
makeFlowNode('node-2', {
33-
data: { name: 'toolAgentflow', label: 'Tool' }
33+
data: { id: 'node-2', name: 'toolAgentflow', label: 'Tool' }
3434
})
3535
]
3636
mockAvailableNodes = [

packages/agentflow/src/features/node-editor/EditNodeDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { useTheme } from '@mui/material/styles'
66
import { IconCheck, IconInfoCircle, IconPencil, IconX } from '@tabler/icons-react'
77

88
import { NodeInputHandler } from '@/atoms'
9-
import type { EditDialogProps } from '@/core/types'
9+
import type { EditDialogProps, InputParam, NodeData } from '@/core/types'
1010
import { useAgentflowContext, useConfigContext } from '@/infrastructure/store'
1111

1212
export interface EditNodeDialogProps {

0 commit comments

Comments
 (0)