refactor(routes): update default route to render DashboardPage instead of ProductsPage
This commit is contained in:
@@ -50,7 +50,7 @@ export const routesSection: RouteObject[] = [
|
|||||||
</DashboardLayout>
|
</DashboardLayout>
|
||||||
),
|
),
|
||||||
children: [
|
children: [
|
||||||
{ index: true, element: <ProductsPage /> },
|
{ index: true, element: <DashboardPage /> },
|
||||||
{ path: 'doc-search', element: <DocumentSearch /> },
|
{ path: 'doc-search', element: <DocumentSearch /> },
|
||||||
{ path: 'products', element: <ProductsPage /> },
|
{ path: 'products', element: <ProductsPage /> },
|
||||||
{ path: 'user', element: <UserPage /> },
|
{ path: 'user', element: <UserPage /> },
|
||||||
|
|||||||
Reference in New Issue
Block a user