[actions, reducers] onSale 관련 logic 추가
Detail Notes : 1. action type 추가 (COPY_CATEGORY_INFO) 2. reducer 수정 (copiedCategoryInfos)
This commit is contained in:
@@ -42,3 +42,8 @@ export const getOnSaleInfo = (props) => (dispatch, getState) => {
|
||||
onFail
|
||||
);
|
||||
};
|
||||
|
||||
export const copyCategoryInfos = (categoryInfos) => ({
|
||||
type: types.COPY_CATEGORY_INFO,
|
||||
payload: categoryInfos,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user