diff --git a/space_flow/src/components/HeaderComponent/index.tsx b/space_flow/src/components/HeaderComponent/index.tsx index 3f5981a63..fc6442161 100644 --- a/space_flow/src/components/HeaderComponent/index.tsx +++ b/space_flow/src/components/HeaderComponent/index.tsx @@ -45,7 +45,7 @@ export default function Header({user, userNavigation}){
- {/*
+
{renderLayer(
setIsOpen(false)} open={isOpen}>
)}
- + {/* Open user menu @@ -100,9 +100,9 @@ export default function Header({user, userNavigation}){
- + */}
-
*/} + ) diff --git a/space_flow/src/entities/sidebarNav.ts b/space_flow/src/entities/sidebarNav.ts index 9de85c1f1..52ff363e3 100644 --- a/space_flow/src/entities/sidebarNav.ts +++ b/space_flow/src/entities/sidebarNav.ts @@ -10,9 +10,9 @@ import { export const sidebarNavigation = [ { name: 'Home', href: '/', icon: HomeIcon, current: true }, - { name: 'Table', href: '/table/', icon: TableCellsIcon, current: false }, - //{ name: 'Train', href: '#', icon: BoltIcon, current: false }, - //{ name: 'Model Details', href: '#', icon: LightBulbIcon, current: false }, - //{ name: 'Deploy', href: '#', icon: RocketLaunchIcon, current: false }, - { name: 'Settings', href: '/settings/', icon: Cog6ToothIcon, current: false }, + // { name: 'Table', href: '/table/', icon: TableCellsIcon, current: false }, + // //{ name: 'Train', href: '#', icon: BoltIcon, current: false }, + // //{ name: 'Model Details', href: '#', icon: LightBulbIcon, current: false }, + // //{ name: 'Deploy', href: '#', icon: RocketLaunchIcon, current: false }, + // { name: 'Settings', href: '/settings/', icon: Cog6ToothIcon, current: false }, ] diff --git a/space_flow/src/pages/FlowPage/index.tsx b/space_flow/src/pages/FlowPage/index.tsx index c57de749d..d0e4538d4 100644 --- a/space_flow/src/pages/FlowPage/index.tsx +++ b/space_flow/src/pages/FlowPage/index.tsx @@ -44,7 +44,7 @@ export default function FlowPage({ flow }) { const reactFlowWrapper = useRef(null); function getId() { - return `dndnode_}` + incrementNodeId(); + return `dndnode_` + incrementNodeId(); } const { setExtraComponent, setExtraNavigation } = useContext(locationContext);