refactor(routes): update default route to render DashboardPage instead of ProductsPage
This commit is contained in:
parent
a07a911ea9
commit
de019d5825
@ -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 /> },
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user