From e85ef4d52a0a21aec2bfc34bbf7f3457ceb8387b Mon Sep 17 00:00:00 2001 From: ifraimka Date: Thu, 7 Nov 2024 16:29:41 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BC=D0=B0=D1=80=D1=88=D1=80=D1=82=20=D0=B4=D0=BB=D1=8F=20?= =?UTF-8?q?=D0=BB=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82=D0=BE=D1=80=D0=B8?= =?UTF-8?q?=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/routes.js b/src/routes.js index 3c93dfb..c5d1185 100755 --- a/src/routes.js +++ b/src/routes.js @@ -7,7 +7,8 @@ import { Projects, Contact } from './pages'; -import { Project, loader as projectsLoader } from './pages/Projects/components'; +import { Project } from './pages/Projects/components'; +import { Lab } from './pages/Labs/components'; const routes = [ { @@ -27,6 +28,10 @@ const routes = [ path: "/labs", element: , }, + { + path: "/labs/:id", + element: , + }, { path: "/projects", element: , @@ -34,7 +39,6 @@ const routes = [ { path: "/projects/:id", element: , - loader: projectsLoader, }, { path: "/contact",