From 867118666a042bb30fecb0eda010a54b56a3cb5b Mon Sep 17 00:00:00 2001 From: Oleksandra Okhotnykova Date: Fri, 23 Aug 2024 17:39:14 +0200 Subject: [PATCH] OV-38: + home page route to protected routes --- frontend/src/router/routes/protected-routes.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/router/routes/protected-routes.tsx b/frontend/src/router/routes/protected-routes.tsx index 4724f0a4b..d70b3eb45 100644 --- a/frontend/src/router/routes/protected-routes.tsx +++ b/frontend/src/router/routes/protected-routes.tsx @@ -1,6 +1,7 @@ import { Navigate } from 'react-router-dom'; import { AppRoute } from '~/bundles/common/enums/app-route.enum.js'; +import { Home } from '~/bundles/home/pages/home.js'; import { Studio } from '~/bundles/studio/pages/studio.js'; import { ProtectedRoute } from '../components/protected-route.js'; @@ -10,6 +11,10 @@ const protectedRoutes = { element: , children: [ //TODO Add protected routes here in element property and specify the correct path + { + path: AppRoute.ROOT, + element: , + }, { path: AppRoute.STUDIO, element: ,