diff --git a/src/App.tsx b/src/App.tsx index edee26e..f827b3e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,6 +3,7 @@ import { Notifications } from './components/Notifications'; import { Home } from './pages/Home'; import { MainLayout } from './pages/MainLayout'; import { NewScheme } from './pages/NewScheme'; +import { SchemeDetail } from './pages/SchemeDetail'; import { Schemes } from './pages/Schemes'; const routes = createBrowserRouter([ @@ -14,7 +15,10 @@ const routes = createBrowserRouter([ { path: 'schemes', element: , - children: [{ path: 'new', element: }], + children: [ + { path: 'new', element: }, + { path: ':id', element: }, + ], }, ], }, diff --git a/src/pages/SchemeDetail.tsx b/src/pages/SchemeDetail.tsx new file mode 100644 index 0000000..b509597 --- /dev/null +++ b/src/pages/SchemeDetail.tsx @@ -0,0 +1,3 @@ +export function SchemeDetail() { + return
; +}