[actions, reducers] onSale 관련 logic 추가

Detail Notes :

1. action type 추가 (COPY_CATEGORY_INFO)
2. reducer 수정 (copiedCategoryInfos)
This commit is contained in:
younghoon100.park
2024-04-08 09:49:27 +09:00
parent 16289f1d72
commit 32d60ea10f
3 changed files with 14 additions and 0 deletions

View File

@@ -42,3 +42,8 @@ export const getOnSaleInfo = (props) => (dispatch, getState) => {
onFail
);
};
export const copyCategoryInfos = (categoryInfos) => ({
type: types.COPY_CATEGORY_INFO,
payload: categoryInfos,
});