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.
This commit is contained in:
chamiakJ
2025-05-15 13:28:16 +05:30
parent f8a216fb6e
commit 7b04821ef1

View File

@@ -34,6 +34,7 @@ const mainRoutes: RouteObject[] = [
path: '/worklenz',
element: <MainLayout />,
children: [
{ index: true, element: <Navigate to="home" replace /> },
{ path: 'home', element: <HomePage /> },
{ path: 'projects', element: <ProjectList /> },
{