No resfresh pages

This commit is contained in:
2021-12-21 15:41:38 +07:00
parent ede5e7c368
commit 70bb64803c
3 changed files with 9 additions and 9 deletions

View File

@@ -91,7 +91,6 @@ export const SubcategoryComponent = observer((props) => {
modalLoader.setLoading(true);
try {
await store.subcategory.create(data);
await getData();
message.success("Success Add New Category");
} catch (e) {
console.log(e, "apa errornya");