SHOPTIME-4000 hotpicks 상품썸네일 인디케이터 숫자 겹침현상 수정

This commit is contained in:
Dev TWIN0906
2025-05-29 10:59:33 +09:00
parent e8d134321a
commit 51f77db6de
3 changed files with 2 additions and 8 deletions

View File

@@ -350,11 +350,7 @@ function ThemeIndicator({
imageSelectedIndex={imageSelectedIndex}
setImageSelectedIndex={setImageSelectedIndex}
themeProductInfo={themeProductInfo}
imageLength={
imageSelectedIndex === 0 && canPlayVideo && !launchedFromPlayer
? imageLength + 1
: imageLength
}
imageLength={imageLength}
/>
)}
</div>

View File

@@ -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");
}
}

View File

@@ -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));