[DetailPanel] youmaylike 예외처리 수정

This commit is contained in:
고동영
2024-05-09 11:13:45 +09:00
parent a045e12fea
commit 9b423ca600

View File

@@ -223,9 +223,8 @@ export default function DetailPanel({ panelInfo, isOnTop, spotlightId }) {
<YouMayLike
isUnable={
productData?.pmtSuptYn === "N" ||
(themeProductInfos &&
themeProductInfos.length > 0 &&
themeProductInfos[selectedIndex]?.pmtSuptYn === "N")
type === "hotel" ||
type === "theme"
}
lgCatCd={lgCatCd}
/>