[MobileSendPopUp] ok button added

This commit is contained in:
jiwon93.son
2024-07-26 16:42:24 +09:00
parent e2d8652622
commit 0a2763c040

View File

@@ -435,11 +435,8 @@ export default function MobileSendPopUp({
shopByMobileLogRef.current = null; shopByMobileLogRef.current = null;
} }
timer = setTimeout(() => { if (spotlightId) Spotlight.focus(spotlightId);
dispatch(setHidePopup()); else Spotlight.focus();
if (spotlightId) Spotlight.focus(spotlightId);
else Spotlight.focus();
}, 3000);
return () => clearTimeout(timer); return () => clearTimeout(timer);
} }
@@ -659,6 +656,9 @@ export default function MobileSendPopUp({
open={popupVisible} open={popupVisible}
hasText hasText
text={MSG_SUCCESS_SENT} text={MSG_SUCCESS_SENT}
onClick={onClose}
hasButton
button1Text={$L("OK")}
/> />
)} )}
</> </>