- {flows.map((flow, idx) => (
+ {Object.keys(flows).map((flow, idx) => (
))}
diff --git a/src/frontend/src/types/tabs/index.ts b/src/frontend/src/types/tabs/index.ts
index ba61b5ff2..6023663d0 100644
--- a/src/frontend/src/types/tabs/index.ts
+++ b/src/frontend/src/types/tabs/index.ts
@@ -1,9 +1,8 @@
import { FlowType } from "../flow";
export type TabsContextType = {
- save: () => void;
- tabIndex: number;
- setTabIndex: (index: number) => void;
+ tabId: string;
+ setTabId: (index: string) => void;
flows: Array
;
removeFlow: (id: string) => void;
addFlow: (flowData?: FlowType, newFlow?: boolean) => void;
diff --git a/src/frontend/tsconfig.json b/src/frontend/tsconfig.json
index 2ed005aff..aa0d9fc7a 100644
--- a/src/frontend/tsconfig.json
+++ b/src/frontend/tsconfig.json
@@ -20,7 +20,6 @@
"noEmit": true,
"jsx": "react-jsx",
"noImplicitAny": false,
- "baseUrl": "."
},
"include": [
"src"