Skip to content

Commit

Permalink
fix: fix routes
Browse files Browse the repository at this point in the history
  • Loading branch information
kiram15 committed Oct 7, 2024
1 parent bed171e commit b3e1ebb
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/components/EnterpriseApp/EnterpriseAppRoutes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,19 +122,20 @@ const EnterpriseAppRoutes = ({
/>
)}

{enterpriseGroupsV2 && enterpriseAppPage === ROUTE_NAMES.peopleManagement && (
{enterpriseGroupsV2 && enterpriseAppPage === ROUTE_NAMES.peopleManagement && ([
<Route
path="/:groupUuid"
key="group-detail"
element={(
<GroupDetailPage />
)}
/>
// <Route
// path="/*"
// keyName="people-management"
// element={<PeopleManagementPage />}
// />
)}
/>,
<Route
path="/*"
key="people-management"
element={<PeopleManagementPage />}
/>,
])}

{enableContentHighlightsPage && enterpriseAppPage === ROUTE_NAMES.contentHighlights && (
<Route
Expand Down

0 comments on commit b3e1ebb

Please sign in to comment.