From 7b04821ef11808496dfb94fb3f71f9c4df3f8bed Mon Sep 17 00:00:00 2001 From: chamiakJ Date: Thu, 15 May 2025 13:28:16 +0530 Subject: [PATCH] feat(routes): add default redirect to home in main routes - Introduced a default index route that redirects to the home page within the main routes configuration, improving user navigation experience. --- worklenz-frontend/src/app/routes/main-routes.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/worklenz-frontend/src/app/routes/main-routes.tsx b/worklenz-frontend/src/app/routes/main-routes.tsx index 52826bf3..8647fac2 100644 --- a/worklenz-frontend/src/app/routes/main-routes.tsx +++ b/worklenz-frontend/src/app/routes/main-routes.tsx @@ -34,6 +34,7 @@ const mainRoutes: RouteObject[] = [ path: '/worklenz', element: , children: [ + { index: true, element: }, { path: 'home', element: }, { path: 'projects', element: }, {