Commit 04d54c03 authored by StyleZhang's avatar StyleZhang

fix

parent 0367a214
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment