SHOPTIME-4000 hotpicks 상품썸네일 인디케이터 숫자 겹침현상 수정
This commit is contained in:
@@ -350,11 +350,7 @@ function ThemeIndicator({
|
||||
imageSelectedIndex={imageSelectedIndex}
|
||||
setImageSelectedIndex={setImageSelectedIndex}
|
||||
themeProductInfo={themeProductInfo}
|
||||
imageLength={
|
||||
imageSelectedIndex === 0 && canPlayVideo && !launchedFromPlayer
|
||||
? imageLength + 1
|
||||
: imageLength
|
||||
}
|
||||
imageLength={imageLength}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
@@ -31,7 +31,7 @@ export default function ThemeIndicatorArrow({
|
||||
if (imageSelectedIndex > 0) {
|
||||
setImageSelectedIndex((prev) => prev - 1);
|
||||
|
||||
if (imageSelectedIndex === 0) {
|
||||
if (imageSelectedIndex === 1) {
|
||||
return Spotlight.focus("thumbnailNextButton");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2051,7 +2051,6 @@ const PlayerPanel = ({
|
||||
};
|
||||
} else if (playListInfo?.[selectedIndex]) {
|
||||
const currentItem = playListInfo[selectedIndex];
|
||||
console.log("###visible", visible);
|
||||
return {
|
||||
visible,
|
||||
showType: isShowType,
|
||||
@@ -2093,7 +2092,6 @@ const PlayerPanel = ({
|
||||
// 컴포넌트 언마운트 시에만 로그를 보냄
|
||||
useEffect(() => {
|
||||
return () => {
|
||||
console.log("###cleanup");
|
||||
const params = createLogParams(false);
|
||||
if (params) {
|
||||
dispatch(sendLogTotalRecommend(params));
|
||||
|
||||
Reference in New Issue
Block a user