logaction
This commit is contained in:
@@ -46,7 +46,6 @@ import {
|
||||
clearCurationCoupon,
|
||||
setEventIssueReq,
|
||||
} from '../../actions/eventActions';
|
||||
import useLogService from '../../hooks/useLogService';
|
||||
import {
|
||||
ACTIVE_POPUP,
|
||||
LOG_TP_NO,
|
||||
@@ -58,6 +57,7 @@ import TPopUp from '../TPopUp/TPopUp';
|
||||
import HistoryPhoneNumber from './HistoryPhoneNumber/HistoryPhoneNumber';
|
||||
import css from './MobileSendPopUp.module.less';
|
||||
import SMSNumKeyPad from './SMSNumKeyPad';
|
||||
import { sendLogShopByMobile } from '../../actions/logActions';
|
||||
|
||||
const Container = SpotlightContainerDecorator(
|
||||
{ enterTo: "last-focused" },
|
||||
@@ -92,7 +92,6 @@ export default function MobileSendPopUp({
|
||||
shopByMobileLogRef,
|
||||
spotlightId,
|
||||
}) {
|
||||
const { sendLogShopByMobile } = useLogService();
|
||||
const deviceInfo = useSelector((state) => state.device.deviceInfo);
|
||||
const [mobileNumber, setMobileNumber] = useState("");
|
||||
const [recentSentNumber, setRecentSentNumber] = useState([]);
|
||||
@@ -425,7 +424,7 @@ export default function MobileSendPopUp({
|
||||
trmsAgrFlag: "Y",
|
||||
};
|
||||
|
||||
sendLogShopByMobile(params);
|
||||
dispatch(sendLogShopByMobile(params));
|
||||
shopByMobileLogRef.current = null;
|
||||
|
||||
if (spotlightId) {
|
||||
@@ -437,7 +436,6 @@ export default function MobileSendPopUp({
|
||||
return () => clearTimeout(timer);
|
||||
}
|
||||
}, [
|
||||
sendLogShopByMobile,
|
||||
shopByMobileLogRef,
|
||||
smsRetCodeResData,
|
||||
regDeviceInfoRetCode,
|
||||
|
||||
Reference in New Issue
Block a user