diff --git a/src/components/layouts/Sidebar.tsx b/src/components/layouts/Sidebar.tsx index a920483f..fb419d46 100644 --- a/src/components/layouts/Sidebar.tsx +++ b/src/components/layouts/Sidebar.tsx @@ -19,7 +19,6 @@ import { import { useRouter } from 'next/router'; import Link from 'next/link'; -import { Tooltip, Typography } from '@mui/material'; import useAppStore from '../../store/useStore'; import { StorageService } from '../../services/StorageService'; import { IUser } from '../../utils/types'; @@ -54,7 +53,7 @@ const Sidebar = () => { }, { name: 'Community Health', - path: '/community-health', + path: '/communityHealth', icon: ( { const menuItem = menuItems.map((el) => (
  • - {el.path === '/community-health' ? ( - <> - Coming soon} - arrow - placement="right" - > -
    - {el.icon} -
    -
    -

    {el.name}

    - - ) : ( - -
    - {el.icon} -
    -

    {el.name}

    - - )} + +
    + {el.icon} +
    +

    {el.name}

    +
  • )); diff --git a/src/components/layouts/xs/SidebarXs.tsx b/src/components/layouts/xs/SidebarXs.tsx index 8f26129b..bed2f8be 100644 --- a/src/components/layouts/xs/SidebarXs.tsx +++ b/src/components/layouts/xs/SidebarXs.tsx @@ -57,7 +57,7 @@ const Sidebar = () => { }, { name: 'Community Health', - path: '/t', + path: '/communityHealth', icon: ( communityHealth; +} + +communityHealth.pageLayout = defaultLayout; + +export default communityHealth;