SHOPTIME-5452 Hot Picks 랜딩 홈배너 진입 / Hot Picks 상품 SMS 문구 전송시 오류 알럿 노출 / 임시커밋

This commit is contained in:
jiwon93.son
2025-09-23 15:50:20 +09:00
parent cf4cc09f37
commit c917cc83de

View File

@@ -118,6 +118,7 @@ export default function MobileSendPopUp({
const [recentSentNumber, setRecentSentNumber] = useState([]);
const [keyPadOff, setKeyPadOff] = useState(false);
const [smsRetCode, setSmsRetCode] = useState(undefined);
const [tempParams, setTempParam] = useState(null);
const agreeBtnClickedRef = useRef(false);
@@ -397,7 +398,7 @@ export default function MobileSendPopUp({
if (smsTpCd === "APP00204") {
params = { ...params, curationId };
}
setTempParam(params);
dispatch(sendSms(params));
}
// EVT00101 & APP00207(welcome) EVT00103 & APP00209 (welcome+Prizes) : smsTpCd 값을 받지 않음
@@ -492,7 +493,8 @@ export default function MobileSendPopUp({
}, [dispatch]);
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, null, 2)}</pre>;
const SMS_ERROR_903 = $L("You have exceeded the daily text limit.");
const SMS_ERROR_904 = $L(
"You have exceeded the text limit for this product."