delete unnecessary things (console.log, commented out, folder)

detail note:

1. brandActions.js
2. mainActions.js
3. myPageActions.js
4.FeaturedCreatorsContents.jsx
5. LiveChannelsHorizontalProductList.jsx
6. RandomUnit.jsx
7. ImagePanel.jsx
8. OnSalePanel.jsx
9. FeautredVideoPlayer (folder)
This commit is contained in:
younghoon100.park
2024-07-30 18:34:23 +09:00
parent 73da969558
commit 1b532609bf
11 changed files with 5 additions and 304 deletions

View File

@@ -184,43 +184,6 @@ export const getBrandRecommendedShowInfo = (props) => (dispatch, getState) => {
const onSuccess = (response) => {
// console.log("getBrandRecommendedShowInfo onSuccess", response.data);
// pyh, delete later
// const brandRecommendedShowCategoryInfo =
// response.data.data?.brandRecommendedShowCategoryInfo;
// const brandRecommendedShowInfo =
// response.data.data?.brandRecommendedShowInfo;
// const firstCatCd = brandRecommendedShowCategoryInfo[0]?.catCd.toString();
// let filteredBrandRecommendedShowInfo;
// if (
// brandRecommendedShowCategoryInfo &&
// brandRecommendedShowInfo &&
// firstCatCd
// ) {
// if (catCd === undefined) {
// filteredBrandRecommendedShowInfo = brandRecommendedShowInfo
// .filter((showInfo) => firstCatCd === showInfo?.catCd)
// .slice(0, 10);
// } else {
// filteredBrandRecommendedShowInfo = brandRecommendedShowInfo
// .filter((showInfo) => catCd === showInfo?.catCd)
// .slice(0, 10);
// }
// }
// const data = {
// brandRecommendedShowCategoryInfo,
// brandRecommendedShowInfo: filteredBrandRecommendedShowInfo,
// };
// dispatch({
// type: types.GET_BRAND_RECOMMENDED_SHOW_INFO,
// payload: {
// data,
// },
// });
dispatch({
type: types.GET_BRAND_RECOMMENDED_SHOW_INFO,
payload: {