Skip to content

Commit

Permalink
OV-9: - test AppRoute
Browse files Browse the repository at this point in the history
  • Loading branch information
XCODE89 committed Aug 20, 2024
1 parent 779c789 commit 22077c2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion frontend/src/bundles/common/enums/app-route.enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const AppRoute = {
ROOT: '/',
SIGN_IN: '/sign-in',
SIGN_UP: '/sign-up',
PROTECTED: '/protected',
ANY: '*',
} as const;

Expand Down
4 changes: 0 additions & 4 deletions frontend/src/router/routes/protected-routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ const protectedRoutes = {
element: <ProtectedRoute />,
children: [
//TODO Add protected routes here in element property and specify the correct path
{
path: AppRoute.PROTECTED,
element: <div>test</div>,
},
{
path: AppRoute.ANY,
element: <Navigate to={AppRoute.ROOT} />,
Expand Down

0 comments on commit 22077c2

Please sign in to comment.