[홈] 포유 아이콘 노출 제거

- 포유 조건 바뀜에 따라 우선 노출 제거
This commit is contained in:
junghoon86.park
2025-11-07 14:02:45 +09:00
parent a732b55905
commit 0c507d5818
3 changed files with 11 additions and 9 deletions

View File

@@ -20,7 +20,9 @@ import {
pushPanel, pushPanel,
updatePanel, updatePanel,
} from '../../../actions/panelActions'; } from '../../../actions/panelActions';
import { navigateToDetailFromHome } from '../../../actions/panelNavigationActions'; import {
navigateToDetailFromHome,
} from '../../../actions/panelNavigationActions';
import SectionTitle from '../../../components/SectionTitle/SectionTitle'; import SectionTitle from '../../../components/SectionTitle/SectionTitle';
import Tag from '../../../components/TItemCard/Tag'; import Tag from '../../../components/TItemCard/Tag';
import TItemCard from '../../../components/TItemCard/TItemCard'; import TItemCard from '../../../components/TItemCard/TItemCard';
@@ -186,7 +188,7 @@ const BestSeller = ({
setBestSellerNewData( setBestSellerNewData(
bestSellerDatas?.map((item) => ({ bestSellerDatas?.map((item) => ({
...item, ...item,
foryou: _randomProduct(), // foryou: _randomProduct(),
})) }))
); );
}, [bestSellerDatas]); }, [bestSellerDatas]);
@@ -225,7 +227,7 @@ const BestSeller = ({
brndNm, brndNm,
patncNm, patncNm,
catNm, catNm,
foryou, //foryou,
euEnrgLblInfos, euEnrgLblInfos,
}, },
itemIndex itemIndex
@@ -267,7 +269,7 @@ const BestSeller = ({
lastLabel=" go to detail, button" lastLabel=" go to detail, button"
euEnrgLblInfos={euEnrgLblInfos} euEnrgLblInfos={euEnrgLblInfos}
> >
{foryou === true && <Tag text={"For You"} />} {/* {foryou === true && <Tag text={"For You"} />} */}
</TItemCardNew> </TItemCardNew>
); );
} }

View File

@@ -200,7 +200,7 @@ const PopularShow = ({
setTopInfosNewData( setTopInfosNewData(
topInfos?.map((item) => ({ topInfos?.map((item) => ({
...item, ...item,
foryou: _randomProduct(), // foryou: _randomProduct(),
})) }))
); );
}, [topInfos]); }, [topInfos]);
@@ -240,7 +240,7 @@ const PopularShow = ({
patncNm, patncNm,
catCd, catCd,
showUrl, showUrl,
foryou, //foryou,
}, },
itemIndex itemIndex
) => { ) => {
@@ -280,7 +280,7 @@ const PopularShow = ({
label={itemIndex * 1 + 1 + " of " + topInfos.length} label={itemIndex * 1 + 1 + " of " + topInfos.length}
lastLabel=" go to detail, button" lastLabel=" go to detail, button"
> >
{foryou === true && <Tag text={"For You"} />} {/* {foryou === true && <Tag text={"For You"} />} */}
</TItemCardNew> </TItemCardNew>
); );
} }

View File

@@ -332,7 +332,7 @@ export default memo(function SubCategory({
offerInfo, offerInfo,
brndNm, brndNm,
patncNm, patncNm,
foryou, //foryou,
}, },
itemIndex itemIndex
) => { ) => {
@@ -367,7 +367,7 @@ export default memo(function SubCategory({
} }
lastLabel=" go to detail, button" lastLabel=" go to detail, button"
> >
{foryou === true && <Tag text={"For You"} />} {/* {foryou === true && <Tag text={"For You"} />} */}
</TItemCardNew> </TItemCardNew>
); );
} }