update category

This commit is contained in:
hamid zarghami
2026-01-24 12:15:41 +03:30
parent 3dc13d1830
commit 4a728ad676
8 changed files with 190 additions and 7 deletions
+2
View File
@@ -27,6 +27,7 @@ import LearningCreate from '@/pages/learning/Create'
import LearningCategory from '@/pages/learning/Category'
import CategoryList from '@/pages/product/category/List'
import CreateCategory from '@/pages/product/category/Create'
import UpdateCategory from '@/pages/product/category/Update'
const MainRouter: FC = () => {
return (
@@ -48,6 +49,7 @@ const MainRouter: FC = () => {
<Route path={Paths.product.create} element={<CreateProduct />} />
<Route path={Paths.product.category.list} element={<CategoryList />} />
<Route path={Paths.product.category.create} element={<CreateCategory />} />
<Route path={Paths.product.category.update + ':id'} element={<UpdateCategory />} />
<Route path={Paths.order.list} element={<OrdersList />} />
<Route path={Paths.features.list} element={<FeaturesList />} />