Update default route to ProductsPage in sections.tsx
Replaced the DashboardPage component with ProductsPage for the default index route in the routesSection array.
This commit is contained in:
@@ -49,7 +49,7 @@ export const routesSection: RouteObject[] = [
|
||||
</DashboardLayout>
|
||||
),
|
||||
children: [
|
||||
{ index: true, element: <DashboardPage /> },
|
||||
{ index: true, element: <ProductsPage /> },
|
||||
{ path: 'user', element: <UserPage /> },
|
||||
{ path: 'products', element: <ProductsPage /> },
|
||||
{ path: 'blog', element: <BlogPage /> },
|
||||
|
||||
Reference in New Issue
Block a user