[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;
}
timer = setTimeout(() => {
dispatch(setHidePopup());
if (spotlightId) Spotlight.focus(spotlightId);
else Spotlight.focus();
}, 3000);
if (spotlightId) Spotlight.focus(spotlightId);
else Spotlight.focus();
return () => clearTimeout(timer);
}
@@ -659,6 +656,9 @@ export default function MobileSendPopUp({
open={popupVisible}
hasText
text={MSG_SUCCESS_SENT}
onClick={onClose}
hasButton
button1Text={$L("OK")}
/>
)}
</>