diff --git a/docs/components/home/Home.vue b/docs/components/home/Home.vue index 96ada40a..4656a4f0 100644 --- a/docs/components/home/Home.vue +++ b/docs/components/home/Home.vue @@ -8,7 +8,7 @@ const breakpoints = useBreakpoints(breakpointsTailwind) const { dimensions, instance, onPaneReady, getNodes, getNode } = useVueFlow({ nodes: [ - { id: 'intro', type: 'box', position: { x: 0, y: 0 }, draggable: true }, + { id: 'intro', type: 'box', position: { x: 0, y: 0 } }, { id: 'examples', type: 'box', position: { x: -50, y: 400 } }, { id: 'documentation', type: 'box', position: { x: 300, y: 400 } }, ], @@ -38,7 +38,7 @@ const { dimensions, instance, onPaneReady, getNodes, getNode } = useVueFlow({ zoomOnScroll: false, }) -onPaneReady(async ({ fitView }) => { +onPaneReady(({ fitView }) => { fitView({ nodes: ['intro', 'examples', 'documentation'], duration: 1500, @@ -59,7 +59,7 @@ onPaneReady(async ({ fitView }) => {