navigate to editor with id

This commit is contained in:
hamid zarghami
2026-03-10 11:43:45 +03:30
parent d3ad3c0178
commit c9eccecb61
3 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ const MainRouter = () => {
<div className='flex-1 h-full flex'>
<Routes>
<Route path={Paths.home} element={<Home />} />
<Route path={Paths.editor} element={<Editor />} />
<Route path={Paths.editor + '/:id'} element={<Editor />} />
<Route path={Paths.viewer} element={<Viewer />} />
<Route path={Paths.catalog.list} element={<CatalogueList />} />
</Routes>