From 9d67c17086f4c25b926fd6e40fb8b365a1994cda Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Mon, 20 Feb 2023 23:58:47 -0300 Subject: [PATCH] changed FLow provider file place --- space_flow/src/App.tsx | 3 +-- space_flow/src/pages/FlowPage/index.tsx | 3 +++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/space_flow/src/App.tsx b/space_flow/src/App.tsx index bd55a4fb9..634e63318 100644 --- a/space_flow/src/App.tsx +++ b/space_flow/src/App.tsx @@ -98,7 +98,7 @@ export default function App() { return ( //need parent component with width and height
- +
@@ -146,7 +146,6 @@ export default function App() {
))} - ); } diff --git a/space_flow/src/pages/FlowPage/index.tsx b/space_flow/src/pages/FlowPage/index.tsx index 4e4923a98..deea5efb7 100644 --- a/space_flow/src/pages/FlowPage/index.tsx +++ b/space_flow/src/pages/FlowPage/index.tsx @@ -5,6 +5,7 @@ import ReactFlow, { addEdge, useEdgesState, useNodesState, + ReactFlowProvider, } from "reactflow"; import { locationContext } from "../../contexts/locationContext"; import ExtraSidebar from "./components/extraSidebarComponent"; @@ -128,6 +129,7 @@ export default function FlowPage() { return (
+ +
); }