categorypanel clearing issue
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user