test commit 원복
This commit is contained in:
@@ -94,7 +94,6 @@ export default function MobileSendPopUp({
|
|||||||
shopByMobileLogRef,
|
shopByMobileLogRef,
|
||||||
spotlightId,
|
spotlightId,
|
||||||
patncNm,
|
patncNm,
|
||||||
panelInfo,
|
|
||||||
}) {
|
}) {
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
const deviceInfo = useSelector((state) => state.device.deviceInfo);
|
const deviceInfo = useSelector((state) => state.device.deviceInfo);
|
||||||
@@ -119,7 +118,6 @@ export default function MobileSendPopUp({
|
|||||||
const [recentSentNumber, setRecentSentNumber] = useState([]);
|
const [recentSentNumber, setRecentSentNumber] = useState([]);
|
||||||
const [keyPadOff, setKeyPadOff] = useState(false);
|
const [keyPadOff, setKeyPadOff] = useState(false);
|
||||||
const [smsRetCode, setSmsRetCode] = useState(undefined);
|
const [smsRetCode, setSmsRetCode] = useState(undefined);
|
||||||
const [tempParams, setTempParam] = useState(null);
|
|
||||||
|
|
||||||
const agreeBtnClickedRef = useRef(false);
|
const agreeBtnClickedRef = useRef(false);
|
||||||
|
|
||||||
@@ -399,7 +397,6 @@ export default function MobileSendPopUp({
|
|||||||
if (smsTpCd === "APP00204") {
|
if (smsTpCd === "APP00204") {
|
||||||
params = { ...params, curationId };
|
params = { ...params, curationId };
|
||||||
}
|
}
|
||||||
setTempParam(params);
|
|
||||||
dispatch(sendSms(params));
|
dispatch(sendSms(params));
|
||||||
}
|
}
|
||||||
// EVT00101 & APP00207(welcome) EVT00103 & APP00209 (welcome+Prizes) : smsTpCd 값을 받지 않음
|
// EVT00101 & APP00207(welcome) EVT00103 & APP00209 (welcome+Prizes) : smsTpCd 값을 받지 않음
|
||||||
@@ -494,10 +491,7 @@ export default function MobileSendPopUp({
|
|||||||
}, [dispatch]);
|
}, [dispatch]);
|
||||||
|
|
||||||
const getSmsErrorMsg = useMemo(() => {
|
const getSmsErrorMsg = useMemo(() => {
|
||||||
// const SMS_ERROR_502 = $L("The event information has not been registered");
|
const SMS_ERROR_502 = $L("The event information has not been registered");
|
||||||
const SMS_ERROR_502 = (
|
|
||||||
<pre>${JSON.stringify({ tempParams, panelInfo }, null, 2)}</pre>
|
|
||||||
);
|
|
||||||
const SMS_ERROR_903 = $L("You have exceeded the daily text limit.");
|
const SMS_ERROR_903 = $L("You have exceeded the daily text limit.");
|
||||||
const SMS_ERROR_904 = $L(
|
const SMS_ERROR_904 = $L(
|
||||||
"You have exceeded the text limit for this product."
|
"You have exceeded the text limit for this product."
|
||||||
|
|||||||
@@ -523,18 +523,11 @@ export default function DetailPanel({ panelInfo, isOnTop, spotlightId }) {
|
|||||||
open={popupVisible}
|
open={popupVisible}
|
||||||
onClose={handleSMSonClose}
|
onClose={handleSMSonClose}
|
||||||
title={$L("Send a purchase link for this item via SMS")}
|
title={$L("Send a purchase link for this item via SMS")}
|
||||||
panelInfo={panelInfo}
|
|
||||||
subTitle={mobileSendPopUpSubtitle}
|
subTitle={mobileSendPopUpSubtitle}
|
||||||
patncNm={productData?.patncNm}
|
patncNm={productData?.patncNm}
|
||||||
productImg={mobileSendPopUpProductImg}
|
productImg={mobileSendPopUpProductImg}
|
||||||
patnrId={panelInfo?.patnrId}
|
patnrId={panelInfo?.patnrId}
|
||||||
prdtId={
|
prdtId={panelInfo?.prdtId}
|
||||||
panelInfo?.type === "theme" &&
|
|
||||||
themeProductInfos &&
|
|
||||||
themeProductInfos[selectedIndex]
|
|
||||||
? themeProductInfos[selectedIndex].prdtId
|
|
||||||
: panelInfo?.prdtId
|
|
||||||
}
|
|
||||||
smsTpCd={panelInfo?.type === "hotel" ? "APP00205" : "APP00201"}
|
smsTpCd={panelInfo?.type === "hotel" ? "APP00205" : "APP00201"}
|
||||||
curationId={panelInfo?.curationId}
|
curationId={panelInfo?.curationId}
|
||||||
curationNm={panelInfo?.curationNm}
|
curationNm={panelInfo?.curationNm}
|
||||||
|
|||||||
Reference in New Issue
Block a user