[MobileSendPopUp] ok button added
This commit is contained in:
@@ -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")}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user