diff --git a/space_flow/src/App.tsx b/space_flow/src/App.tsx
index 634e63318..32b87e72f 100644
--- a/space_flow/src/App.tsx
+++ b/space_flow/src/App.tsx
@@ -110,9 +110,7 @@ export default function App() {
{/* Primary column */}
-
-
diff --git a/space_flow/src/contexts/index.tsx b/space_flow/src/contexts/index.tsx
index 6eba87762..c4a22cad6 100644
--- a/space_flow/src/contexts/index.tsx
+++ b/space_flow/src/contexts/index.tsx
@@ -1,6 +1,7 @@
import { AlertProvider } from "./alertContext";
import { LocationProvider } from "./locationContext";
import PopUpProvider from "./popUpContext";
+import { TabsProvider } from "./tabsContext";
import { TypesProvider } from "./typesContext";
export default function ContextWrapper({ children }) {
@@ -9,7 +10,9 @@ export default function ContextWrapper({ children }) {
- {children}
+
+ {children}
+
diff --git a/space_flow/src/pages/FlowPage/flowManager/index.tsx b/space_flow/src/pages/FlowPage/flowManager/index.tsx
index 55c01389d..ce978a2a4 100644
--- a/space_flow/src/pages/FlowPage/flowManager/index.tsx
+++ b/space_flow/src/pages/FlowPage/flowManager/index.tsx
@@ -1,10 +1,10 @@
-import { PlusIcon } from "@heroicons/react/24/outline";
import { useContext, useEffect, useState } from "react";
import { Tab, Tabs, TabList, TabPanel } from "react-tabs";
import { ReactFlowProvider } from "reactflow";
import FlowPage from "..";
import { TabsContext } from "../../../contexts/tabsContext";
import TabComponent from "./tabComponent";
+import { PlusIcon } from '@heroicons/react/24/outline';
var _ = require("lodash");
export function TabsManager() {
diff --git a/space_flow/src/pages/FlowPage/flowManager/tabComponent/index.tsx b/space_flow/src/pages/FlowPage/flowManager/tabComponent/index.tsx
index 2d37e50ec..b19dd03c4 100644
--- a/space_flow/src/pages/FlowPage/flowManager/tabComponent/index.tsx
+++ b/space_flow/src/pages/FlowPage/flowManager/tabComponent/index.tsx
@@ -1,24 +1,31 @@
-import { XMarkIcon } from "@heroicons/react/24/solid";
+import { PlusIcon, XMarkIcon } from "@heroicons/react/24/solid";
import { useContext } from "react";
import { TabsContext } from "../../../../contexts/tabsContext";
import { classNames } from "../../../../utils";
-export default function TabComponent({ children, selected, id, onClick}) {
+export default function TabComponent({ selected, flow, id, onClick}) {
const { removeFlow, flows } = useContext(TabsContext);
return (
-
- {children}
- {flows.length > 1 && (
- removeFlow(id)}
- >
- )}
-
- );
-}
+ <>
+ {flow ? (
+ selected ? (
+
+ ) : (
+
+ {flow.name}
+
+ )
+ ) : (
+
+ )}
+ >
+ )}
\ No newline at end of file