scrollBottom 추가 및 y값 파라미터 추가 등

This commit is contained in:
고동영
2024-03-20 10:04:55 +09:00
parent 2c11f4b257
commit 22fabbd464
11 changed files with 93 additions and 49 deletions

View File

@@ -37,6 +37,7 @@ export default function ItemDetail() {
const hotelInfos = useSelector(
(state) => state.home.themeCurationHotelDetailData
);
const hotelData = useSelector((state) => state.home.hotelData);
const dispatch = useDispatch();
@@ -99,7 +100,7 @@ export default function ItemDetail() {
className={css.header}
title={
(selectedPrdtId && productData?.prdtNm) ||
(selectedCurationId && hotelInfos[selectedIndex]?.hotelNm)
(selectedCurationId && hotelData?.hotelInfo.curationNm)
}
onBackButton
onClick={onClick}