From 0a2763c040a67a81b71499643a135f73f54e2d82 Mon Sep 17 00:00:00 2001 From: "jiwon93.son" Date: Fri, 26 Jul 2024 16:42:24 +0900 Subject: [PATCH] [MobileSendPopUp] ok button added --- .../src/components/MobileSend/MobileSendPopUp.jsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx b/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx index 002f1501..72fbecbf 100644 --- a/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx +++ b/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx @@ -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")} /> )}