update product

This commit is contained in:
hamid zarghami
2026-01-24 16:27:54 +03:30
parent 480fc056f9
commit 1691be2664
5 changed files with 304 additions and 4 deletions
+2
View File
@@ -28,6 +28,7 @@ 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'
import UpdateProduct from '@/pages/product/Update'
const MainRouter: FC = () => {
return (
@@ -47,6 +48,7 @@ const MainRouter: FC = () => {
<Route path={Paths.product.list} element={<ProductList />} />
<Route path={Paths.product.create} element={<CreateProduct />} />
<Route path={Paths.product.update + ':id'} element={<UpdateProduct />} />
<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 />} />