alarm center

This commit is contained in:
Muhammad Fajar
2022-11-14 15:27:18 +07:00
parent 67acbb10aa
commit d778d5af89
4 changed files with 461 additions and 8 deletions

View File

@@ -93,6 +93,22 @@ export default function Router() {
},
],
},
{
path: '/alarm-center',
element: (
<AuthProvider>
<AuthGuard>
<DashboardLayout />
</AuthGuard>
</AuthProvider>
),
children: [
{
element: <AlarmCenter />,
index: true,
},
],
},
// {
// path: '/dashboard',
// element: <DashboardLayout />,
@@ -131,7 +147,7 @@ const Login = Loadable(lazy(() => import('../pages/auth/Login')));
const VerifyCode = Loadable(lazy(() => import('../pages/auth/VerifyCode')));
// Dashboard
const Dashboard = Loadable(lazy(() => import('../pages/Dashboard')));
const Dashboard = Loadable(lazy(() => import('../pages/Dashboard/Dashboard')));
const NotFound = Loadable(lazy(() => import('../pages/Page404')));
// Members
@@ -139,4 +155,4 @@ const Members = Loadable(lazy(() => import('../pages/Members/Index')));
const MembersCreate = Loadable(lazy(() => import('../pages/Members/Create')));
// Alarm Center
// const AlarmCenter = Loadable(lazy(() => import('../pages/AlarmCenter/Index')));
const AlarmCenter = Loadable(lazy(() => import('../pages/AlarmCenter/Index')));