mirror of https://github.com/langgenius/dify.git
fix
This commit is contained in:
parent
0367a2148a
commit
04d54c0319
|
|
@ -4,19 +4,8 @@ import { memo } from 'react'
|
|||
import Workflow from '@/app/components/workflow'
|
||||
|
||||
const Page = () => {
|
||||
const nodes = [
|
||||
{
|
||||
id: '1',
|
||||
type: 'custom',
|
||||
position: { x: 0, y: 0 },
|
||||
data: { type: 'start' },
|
||||
},
|
||||
]
|
||||
return (
|
||||
<Workflow
|
||||
nodes={nodes}
|
||||
edges={[]}
|
||||
/>
|
||||
<Workflow />
|
||||
)
|
||||
}
|
||||
export default memo(Page)
|
||||
|
|
|
|||
|
|
@ -118,6 +118,7 @@ const WorkflowWrap: FC<WorkflowProps> = ({
|
|||
|
||||
const startNode = {
|
||||
id: `${Date.now()}`,
|
||||
type: 'custom',
|
||||
data: NodeInitialData.start,
|
||||
position: {
|
||||
x: 100,
|
||||
|
|
|
|||
Loading…
Reference in New Issue