Explorar el Código

add article/:type

visuddhinanda hace 3 años
padre
commit
5bb25c9d67
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      dashboard/src/Router.tsx

+ 1 - 0
dashboard/src/Router.tsx

@@ -186,6 +186,7 @@ const Widget = () => {
         </Route>
 
         <Route path="article" element={<LibraryArticle />}>
+          <Route path=":type" element={<LibraryArticleShow />} />
           <Route path=":type/:id" element={<LibraryArticleShow />} />
           <Route path=":type/:id/:mode" element={<LibraryArticleShow />} />
           <Route