[에러수정]
- Pickforyou titemcard -> titemcardnew 변경
This commit is contained in:
@@ -16,12 +16,9 @@ import {
|
||||
} from '@enact/spotlight/SpotlightContainerDecorator';
|
||||
import Spottable from '@enact/spotlight/Spottable';
|
||||
|
||||
import {
|
||||
pushPanel,
|
||||
updatePanel,
|
||||
} from '../../../actions/panelActions';
|
||||
import { pushPanel } from '../../../actions/panelActions';
|
||||
import SectionTitle from '../../../components/SectionTitle/SectionTitle';
|
||||
import TItemCard from '../../../components/TItemCard/TItemCard';
|
||||
import TItemCardNew from '../../../components/TItemCard/TItemCard.new';
|
||||
import TScroller from '../../../components/TScroller/TScroller';
|
||||
import useScrollReset from '../../../hooks/useScrollReset';
|
||||
import useScrollTo from '../../../hooks/useScrollTo';
|
||||
@@ -30,10 +27,7 @@ import {
|
||||
LOG_MESSAGE_ID,
|
||||
panel_names,
|
||||
} from '../../../utils/Config';
|
||||
import {
|
||||
$L,
|
||||
scaleW,
|
||||
} from '../../../utils/helperMethods';
|
||||
import { $L } from '../../../utils/helperMethods';
|
||||
import { SpotlightIds } from '../../../utils/SpotlightIds';
|
||||
import css from './PickedForYou.module.less';
|
||||
|
||||
@@ -204,6 +198,7 @@ const PickedForYou = ({
|
||||
noScrollByWheel
|
||||
>
|
||||
{pickedForYou &&
|
||||
pickedForYou?.[0] &&
|
||||
pickedForYou?.[0].productInfos.map(
|
||||
(
|
||||
{
|
||||
@@ -211,18 +206,17 @@ const PickedForYou = ({
|
||||
imgUrl,
|
||||
priceInfo,
|
||||
prdtNm,
|
||||
rankOrd,
|
||||
patnrId,
|
||||
offerInfo,
|
||||
brndNm,
|
||||
patncNm,
|
||||
catNm,
|
||||
euEnrgLblInfos,
|
||||
euEnrgLblInfos
|
||||
},
|
||||
itemIndex
|
||||
) => {
|
||||
return (
|
||||
<TItemCard
|
||||
<TItemCardNew
|
||||
key={"subItem" + itemIndex}
|
||||
contextName={LOG_CONTEXT_NAME.HOME}
|
||||
messageId={LOG_MESSAGE_ID.SHELF_CLICK}
|
||||
@@ -237,7 +231,6 @@ const PickedForYou = ({
|
||||
imageSource={imgUrl}
|
||||
priceInfo={priceInfo}
|
||||
productName={prdtNm}
|
||||
isBestSeller={true}
|
||||
productId={prdtId}
|
||||
onFocus={handleFocus(itemIndex)}
|
||||
onBlur={handleBlur(itemIndex)}
|
||||
|
||||
Reference in New Issue
Block a user