Parcourir la source

add article/:type

visuddhinanda il y a 3 ans
Parent
commit
5bb25c9d67
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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