From f74eef354174b3d161f135a89aa260a538fd9a4d Mon Sep 17 00:00:00 2001 From: bnu Date: Wed, 27 Jul 2022 10:20:53 +0700 Subject: [PATCH] update route project-dashboard:id --- src/routes.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes.js b/src/routes.js index 570b4ae..669c3db 100644 --- a/src/routes.js +++ b/src/routes.js @@ -42,6 +42,7 @@ const Shift = React.lazy(() => import('./views/SimproV2/Shift')); const TestGantt = React.lazy(() => import('./views/testgantt')); const UserAdmin = React.lazy(() => import('./views/Master/UserAdmin')); const UserShift = React.lazy(() => import('./views/SimproV2/UserShift')); +const DashboardProject = React.lazy(() => import('./views/DashboardProject')); const routes = [ { path: '/', exact: true, name: 'Home' }, @@ -94,7 +95,7 @@ const routes = [ { path: '/user-admin', exact: true, name: 'User Admin', component: UserAdmin }, { path: '/user-shift', exact: true, name: 'Shift', component: UserShift }, { path: '/working-hour', exact: true, name: 'Working Hour', component: Shift }, - + { path: '/dashboard-project/:id', exact: true, name: 'Dashboard Project', component: DashboardProject }, ]; export default routes;