Skip to content

Commit

Permalink
[SELC-5370] Feat: hide the side bad for add users page
Browse files Browse the repository at this point in the history
  • Loading branch information
OraldoDoci authored Oct 28, 2024
1 parent ffa3bf5 commit d935818
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@ const Dashboard = () => {
]);

// Check if the current route matches any path in the array
// TODO `${ENV.ROUTES.USERS}/add` add after release in PROD
const paths = [DASHBOARD_ROUTES.ADD_DELEGATE.path];
const paths = [DASHBOARD_ROUTES.ADD_DELEGATE.path, `${ENV.ROUTES.USERS}/add`];

const match = matchPath(location.pathname, {
path: paths,
Expand Down

0 comments on commit d935818

Please sign in to comment.