updates
This commit is contained in:
@@ -17,7 +17,6 @@ const SamplePage = Loadable(lazy(() => import('pages/extra-pages/sample-page')))
|
||||
const Login = Loadable(lazy(() => import('pages/nearle/login')));
|
||||
const Dashboard = Loadable(lazy(() => import('pages/nearle/dashboard')));
|
||||
|
||||
const Client = Loadable(lazy(() => import('pages/nearle/clients/client')));
|
||||
const Client1 = Loadable(lazy(() => import('pages/nearle/clients/clients1')));
|
||||
|
||||
const Orders = Loadable(lazy(() => import('pages/nearle/orders/orders')));
|
||||
@@ -30,7 +29,7 @@ const Createclient = Loadable(lazy(() => import('pages/nearle/clients/createclie
|
||||
|
||||
const Createorder1 = Loadable(lazy(() => import('pages/nearle/orders/createorder1')));
|
||||
|
||||
|
||||
const OrdersDetails = Loadable(lazy(() => import('pages/nearle/reports/ordersDetails')));
|
||||
|
||||
// ==============================|| MAIN ROUTING ||============================== //
|
||||
|
||||
@@ -41,7 +40,7 @@ const MainRoutes = {
|
||||
path: '/',
|
||||
element: (
|
||||
// <AuthGuard>
|
||||
<MainLayout />
|
||||
<MainLayout />
|
||||
// </AuthGuard>
|
||||
),
|
||||
children: [
|
||||
@@ -85,13 +84,16 @@ const MainRoutes = {
|
||||
path: 'customers/create',
|
||||
element: <Createclient />
|
||||
},
|
||||
|
||||
{
|
||||
path: 'reports/ordersdetails',
|
||||
element: <OrdersDetails />
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
|
||||
{
|
||||
path:'/login',
|
||||
element:<Login />
|
||||
path: '/login',
|
||||
element: <Login />
|
||||
},
|
||||
{
|
||||
path: '/maintenance',
|
||||
|
||||
Reference in New Issue
Block a user