[Log] IF-LGSP-LOG-008, modify useEffect for sms success (MobileSendPopUp.jsx, HotelProduct.jsx)

This commit is contained in:
younghoon100.park
2024-07-24 13:52:34 +09:00
parent 1ef53f44a9
commit 10ad606a3b
2 changed files with 16 additions and 16 deletions

View File

@@ -405,9 +405,6 @@ export default function MobileSendPopUp({
regDeviceInfoRetCode === 0 ||
curationCouponSuccess === 0
) {
timer = setTimeout(() => {
dispatch(setHidePopup());
if (shopByMobileLogRef) {
let params = {
...shopByMobileLogRef.current,
@@ -418,11 +415,12 @@ export default function MobileSendPopUp({
dispatch(sendLogShopByMobile(params));
shopByMobileLogRef.current = null;
if (spotlightId) {
Spotlight.focus(spotlightId);
} else Spotlight.focus();
}
timer = setTimeout(() => {
dispatch(setHidePopup());
if (spotlightId) Spotlight.focus(spotlightId);
else Spotlight.focus();
}, 3000);
return () => clearTimeout(timer);

View File

@@ -151,6 +151,8 @@ export default function HotelOption({
befPrice: selectedHotelInfo.hotelInfo?.hotelDetailInfo?.price,
curationId: selectedHotelInfo.curationId,
curationNm: selectedHotelInfo.curationNm,
evntId: "",
evntNm: "",
lastPrice: selectedHotelInfo.hotelInfo?.hotelDetailInfo?.price,
lgCatCd: "",
lgCatNm: "",