From 310461bd249147307e303352f463185ad5b0c8c3 Mon Sep 17 00:00:00 2001 From: Jason Zhu Date: Mon, 29 May 2023 19:29:21 +1000 Subject: [PATCH] Getting Started -> Building a Flow -> Getting Started: Fixed style to have 100 height; --- src/App.tsx | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index c408c17..ef59ba0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,19 +3,10 @@ import ReactFlow, { Background, Controls } from 'reactflow'; // we have to import the React Flow styles for it to work import 'reactflow/dist/style.css'; -const nodes = [ - { - id: '1', - position: { x: 0, y: 0 }, - data: { label: 'Hello' }, - type: 'input', - }, -]; - const Flow = () => { return ( -
- +
+