categorypanel clearing issue

This commit is contained in:
yonghyon
2024-07-04 10:41:12 +09:00
parent bdaeac1455
commit b2ddf986d7
2 changed files with 2 additions and 3 deletions

View File

@@ -194,6 +194,7 @@ export const getSubCategory =
return;
}
lastSubCategoryParams = params;
dispatch(clearSubCategory());
}
let currentKey = key;
const onSuccess = (response) => {
@@ -265,7 +266,7 @@ export const continueGetSubCategory =
);
};
export const clearSubCategory = () => ({
const clearSubCategory = () => ({
type: types.CLEAR_SUB_CATEGORY,
});