Skip to content

Commit

Permalink
OV-29: + new video editor route
Browse files Browse the repository at this point in the history
  • Loading branch information
lfelix3011 committed Aug 23, 2024
1 parent 0705414 commit 634bdfb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/src/router/routes/protected-routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Navigate } from 'react-router-dom';

import { AppRoute } from '~/bundles/common/enums/app-route.enum.js';
import { Studio } from '~/bundles/studio/pages/studio.js';
import { VideoEditor } from '~/bundles/video-editor/pages/video-editor.js';

import { ProtectedRoute } from '../components/protected-route.js';

Expand All @@ -14,6 +15,10 @@ const protectedRoutes = {
path: AppRoute.STUDIO,
element: <Studio />,
},
{
path: AppRoute.VIDEO_EDITOR,
element: <VideoEditor />,
},
{
path: AppRoute.ANY,
element: <Navigate to={AppRoute.ROOT} replace />,
Expand Down

0 comments on commit 634bdfb

Please sign in to comment.