Skip to content

Commit

Permalink
OV-9: - Unused wildcard route
Browse files Browse the repository at this point in the history
  • Loading branch information
XCODE89 committed Aug 21, 2024
1 parent 3db3b74 commit 5bff407
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions frontend/src/router/routes/public-routes.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { Navigate } from 'react-router-dom';

import { Auth } from '~/bundles/auth/pages/auth.js';
import { AppRoute } from '~/bundles/common/enums/app-route.enum.js';

Expand All @@ -12,10 +10,6 @@ const publicRoutes = [
path: AppRoute.SIGN_UP,
element: <Auth />,
},
{
path: AppRoute.ANY,
element: <Navigate to={AppRoute.SIGN_IN} replace />,
},
];

export { publicRoutes };

0 comments on commit 5bff407

Please sign in to comment.