[SHOPTIME-4912] 미국 / Travel 테마 / 호텔 이미지 1개만 노출됨 ( http://hlm.lge.com/issue/browse/SHOPTIME-4912 )

[원인] isOnTop을 내리지않아 ThemeIndicatorArrow component가 랜더링되지 않음

[수정사항] isOnTop props 전달
This commit is contained in:
고동영
2025-01-08 14:15:46 +09:00
parent 86e5dce79b
commit c6575cb611
2 changed files with 2 additions and 10 deletions

View File

@@ -36,6 +36,7 @@ const Container = SpotlightContainerDecorator(
"div"
);
export default function HotelOption({
isOnTop,
panelInfo,
launchedFromPlayer,
selectedIndex,
@@ -262,6 +263,7 @@ export default function HotelOption({
setSelectedIndex={setSelectedIndex}
thumbnailUrls={hotelInfos[selectedIndex]?.hotelDetailInfo.imgUrls}
launchedFromPlayer={launchedFromPlayer}
isOnTop={isOnTop}
/>
<IndicatorOptions

View File

@@ -312,16 +312,6 @@ function ThemeIndicator({
[isOnTop]
);
// useEffect(() => {
// if (
// imageLength === (imageSelectedIndex || 1) ||
// (!themeProductInfo?.prdtMediaUrl &&
// imageLength - 1 === imageSelectedIndex)
// ) {
// Spotlight.focus("thumbnailPrevButton");
// }
// }, [canPlayVideo, imageSelectedIndex]);
const renderThumbnail = useCallback(() => {
return (
<div className={css.thumbnailContainer}>