category spit
This commit is contained in:
parent
81c3c1e781
commit
06371c4782
|
|
@ -266,7 +266,7 @@ export default function FormConvertSPIT() {
|
||||||
|
|
||||||
const getCategories = async () => {
|
const getCategories = async () => {
|
||||||
try {
|
try {
|
||||||
const category = await listCategory(fileTypeId);
|
const category = await listEnableCategory(fileTypeId);
|
||||||
const resCategory: Category[] = category?.data?.data?.content;
|
const resCategory: Category[] = category?.data?.data?.content;
|
||||||
|
|
||||||
setCategories(resCategory);
|
setCategories(resCategory);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue