refactor(routes): update default route to render DashboardPage instead of ProductsPage

This commit is contained in:
OlgunR 2025-11-24 14:45:28 +01:00
parent a07a911ea9
commit de019d5825

View File

@ -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 /> },