Crud create and variant category
This commit is contained in:
@@ -9,6 +9,7 @@ import Create from '../pages/category/Create'
|
||||
import List from '../pages/category/List'
|
||||
import Update from '../pages/category/Update'
|
||||
import { Pages } from '../config/Pages'
|
||||
import Variant from '../pages/category/Variant'
|
||||
|
||||
const MainRouter: FC = () => {
|
||||
|
||||
@@ -30,6 +31,7 @@ const MainRouter: FC = () => {
|
||||
<Route path={Pages.category.create} element={<Create />} />
|
||||
<Route path={Pages.category.list} element={<List />} />
|
||||
<Route path={`${Pages.category.update}:id`} element={<Update />} />
|
||||
<Route path={`${Pages.category.variant}:id`} element={<Variant />} />
|
||||
</Routes>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user