diff --git a/src/layout/MainLayout/Header/index.js b/src/layout/MainLayout/Header/index.js index b5370a7..2ee52f6 100644 --- a/src/layout/MainLayout/Header/index.js +++ b/src/layout/MainLayout/Header/index.js @@ -532,13 +532,13 @@ function Header(props) { -
  • + {/*
  • -
  • + */}
  • diff --git a/src/layout/MainLayout/index.js b/src/layout/MainLayout/index.js index 5e0b641..c8c21d1 100644 --- a/src/layout/MainLayout/index.js +++ b/src/layout/MainLayout/index.js @@ -1,6 +1,7 @@ import { useEffect, useState } from 'react'; import { Outlet } from 'react-router-dom'; import { useDispatch, useSelector } from 'react-redux'; +import { useLocation } from 'react-router-dom'; // material-ui import { useTheme } from '@mui/material/styles'; @@ -31,7 +32,8 @@ const MainLayout = () => { const theme = useTheme(); const matchDownLG = useMediaQuery(theme.breakpoints.down('lg')); const dispatch = useDispatch(); - + const location = useLocation(); + const hideNavbarRoutes = ['/databaseHealthCheck'] const { drawerOpen } = useSelector((state) => state.menu); // drawer toggler @@ -55,18 +57,26 @@ const MainLayout = () => { }, [drawerOpen]); return ( - -
    - {/* */} - - {/* */} - {/* */} - - - -