mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:49:45 +00:00
Добавил маршрт для лабораторий
This commit is contained in:
1 parent
54126153bc
commit
e85ef4d52a
1 file changed
+6
-2
+6
-2
@@ -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: <Labs />,
|
||||
},
|
||||
{
|
||||
path: "/labs/:id",
|
||||
element: <Lab />,
|
||||
},
|
||||
{
|
||||
path: "/projects",
|
||||
element: <Projects />,
|
||||
@@ -34,7 +39,6 @@ const routes = [
|
||||
{
|
||||
path: "/projects/:id",
|
||||
element: <Project />,
|
||||
loader: projectsLoader,
|
||||
},
|
||||
{
|
||||
path: "/contact",
|
||||
|
||||
Reference in new issue
Block a user