From 23ca89529fa40e21bfe8e113af55887a872f8494 Mon Sep 17 00:00:00 2001 From: "younghoon100.park" Date: Mon, 19 Aug 2024 10:51:32 +0900 Subject: [PATCH] [Log] add "locDt" props for sendLogShopByMobile funtion Changed Files: 1. logActions.js 2. MobileSendPopUp.jsx 3. GroupProduct.jsx 4. SingleProduct.jsx 5. HotelProduct.jsx 6. ShowProduct.jsx 7. ShowUnableOption.jsx 8. UnableProduct.jsx 9. EventPopUpBanner.jsx 10. HotPicksPanel.jsx 11. WelcomeEventPanel.jsx --- .../src/actions/logActions.js | 2 + .../components/MobileSend/MobileSendPopUp.jsx | 67 ++++++--------- .../DetailPanel/GroupProduct/GroupProduct.jsx | 6 +- .../SingleProduct/SingleProduct.jsx | 6 +- .../DetailPanel/ThemeProduct/HotelProduct.jsx | 7 +- .../ShowOptions/ShowUnableOption.jsx | 2 + .../DetailPanel/ThemeProduct/ShowProduct.jsx | 7 +- .../UnableProduct/UnableProduct.jsx | 6 +- .../EventPopUpBanner/EventPopUpBanner.jsx | 45 ++++------ .../src/views/HotPicksPanel/HotPicksPanel.jsx | 82 +++++++++---------- .../WelcomeEventPanel/WelcomeEventPanel.jsx | 11 ++- 11 files changed, 120 insertions(+), 121 deletions(-) diff --git a/com.twin.app.shoptime/src/actions/logActions.js b/com.twin.app.shoptime/src/actions/logActions.js index c1a78109..eb9da8de 100644 --- a/com.twin.app.shoptime/src/actions/logActions.js +++ b/com.twin.app.shoptime/src/actions/logActions.js @@ -578,6 +578,8 @@ export const sendLogDetail = (params) => (dispatch, getState) => { * * (O) liveFlag 라이브 여부 * + * (O) locDt 디바이스 로컬 일시 + * * (M) logTpNo 로그 타입 넘버 * * (M) mbphNoFlag 전화 번호 여부 (모바일 폰 넘버 플래그) diff --git a/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx b/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx index 72fbecbf..e9c186b8 100644 --- a/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx +++ b/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx @@ -1,67 +1,49 @@ -import React, { - useCallback, - useEffect, - useMemo, - useState, -} from 'react'; +import React, { useCallback, useEffect, useMemo, useState } from "react"; -import classNames from 'classnames'; +import classNames from "classnames"; import { AsYouTypeFormatter, PhoneNumberFormat, PhoneNumberUtil, -} from 'google-libphonenumber'; -import { - useDispatch, - useSelector, -} from 'react-redux'; +} from "google-libphonenumber"; +import { useDispatch, useSelector } from "react-redux"; -import { - off, - on, -} from '@enact/core/dispatcher'; -import spotlight, { Spotlight } from '@enact/spotlight'; -import { - SpotlightContainerDecorator, -} from '@enact/spotlight/SpotlightContainerDecorator'; -import { Spottable } from '@enact/spotlight/Spottable'; +import { off, on } from "@enact/core/dispatcher"; +import spotlight, { Spotlight } from "@enact/spotlight"; +import { SpotlightContainerDecorator } from "@enact/spotlight/SpotlightContainerDecorator"; +import { Spottable } from "@enact/spotlight/Spottable"; -import defaultImage from '../../../assets/images/img-thumb-empty-144@3x.png'; -import { types } from '../../actions/actionTypes'; -import { - clearSMS, - sendSms, -} from '../../actions/appDataActions'; +import defaultImage from "../../../assets/images/img-thumb-empty-144@3x.png"; +import { types } from "../../actions/actionTypes"; +import { clearSMS, sendSms } from "../../actions/appDataActions"; import { changeLocalSettings, setHidePopup, setShowPopup, -} from '../../actions/commonActions'; +} from "../../actions/commonActions"; import { clearRegisterDeviceInfo, getDeviceAdditionInfo, registerDeviceInfo, -} from '../../actions/deviceActions'; +} from "../../actions/deviceActions"; import { clearCurationCoupon, setEventIssueReq, -} from '../../actions/eventActions'; -import { sendLogShopByMobile } from '../../actions/logActions'; -import { - ACTIVE_POPUP, - LOG_TP_NO, -} from '../../utils/Config'; +} from "../../actions/eventActions"; +import { sendLogShopByMobile } from "../../actions/logActions"; +import { ACTIVE_POPUP, LOG_TP_NO } from "../../utils/Config"; import { $L, decryptPhoneNumber, encryptPhoneNumber, -} from '../../utils/helperMethods'; -import CustomImage from '../CustomImage/CustomImage'; -import TButton from '../TButton/TButton'; -import TPopUp from '../TPopUp/TPopUp'; -import HistoryPhoneNumber from './HistoryPhoneNumber/HistoryPhoneNumber'; -import css from './MobileSendPopUp.module.less'; -import SMSNumKeyPad from './SMSNumKeyPad'; + formatLocalDateTime, +} from "../../utils/helperMethods"; +import CustomImage from "../CustomImage/CustomImage"; +import TButton from "../TButton/TButton"; +import TPopUp from "../TPopUp/TPopUp"; +import HistoryPhoneNumber from "./HistoryPhoneNumber/HistoryPhoneNumber"; +import css from "./MobileSendPopUp.module.less"; +import SMSNumKeyPad from "./SMSNumKeyPad"; const SECRET_KEY = "fy7BTKuM9eeTQqEC9sF3Iw5qG43Aaip"; @@ -426,6 +408,7 @@ export default function MobileSendPopUp({ if (shopByMobileLogRef) { let params = { ...shopByMobileLogRef.current, + locDt: formatLocalDateTime(new Date()), logTpNo: LOG_TP_NO.SHOP_BY_MOBILE.AGREE_AND_SEND, mbphNoFlag: "Y", trmsAgrFlag: "Y", diff --git a/com.twin.app.shoptime/src/views/DetailPanel/GroupProduct/GroupProduct.jsx b/com.twin.app.shoptime/src/views/DetailPanel/GroupProduct/GroupProduct.jsx index 655cb660..9edd953f 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/GroupProduct/GroupProduct.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/GroupProduct/GroupProduct.jsx @@ -11,7 +11,10 @@ import { sendLogShopByMobile, } from "../../../actions/logActions"; import { LOG_MENU, LOG_TP_NO } from "../../../utils/Config"; -import { formatGMTString } from "../../../utils/helperMethods"; +import { + formatGMTString, + formatLocalDateTime, +} from "../../../utils/helperMethods"; import Indicator from "../components/indicator/Indicator"; import IndicatorOptions from "../components/indicator/IndicatorOptions"; import ProductOption from "../components/ProductOption"; @@ -106,6 +109,7 @@ export default function GroupProduct({ lgCatCd: productData?.catCd ?? "", lgCatNm: productData?.catNm ?? "", liveFlag: panelInfo?.liveFlag ?? "N", + locDt: formatLocalDateTime(new Date()), logTpNo: LOG_TP_NO.SHOP_BY_MOBILE.SHOP_BY_MOBILE, mbphNoFlag: "N", patncNm: productData?.patncNm, diff --git a/com.twin.app.shoptime/src/views/DetailPanel/SingleProduct/SingleProduct.jsx b/com.twin.app.shoptime/src/views/DetailPanel/SingleProduct/SingleProduct.jsx index 6353c704..31392a33 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/SingleProduct/SingleProduct.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/SingleProduct/SingleProduct.jsx @@ -11,7 +11,10 @@ import { sendLogShopByMobile, } from "../../../actions/logActions"; import { LOG_MENU, LOG_TP_NO } from "../../../utils/Config"; -import { formatGMTString } from "../../../utils/helperMethods"; +import { + formatGMTString, + formatLocalDateTime, +} from "../../../utils/helperMethods"; import Indicator from "../components/indicator/Indicator"; import IndicatorOptions from "../components/indicator/IndicatorOptions"; import ProductOption from "../components/ProductOption"; @@ -106,6 +109,7 @@ export default function SingleProduct({ lgCatCd: productData?.catCd ?? "", lgCatNm: productData?.catNm ?? "", liveFlag: panelInfo?.liveFlag ?? "N", + locDt: formatLocalDateTime(new Date()), logTpNo: LOG_TP_NO.SHOP_BY_MOBILE.SHOP_BY_MOBILE, mbphNoFlag: "N", patncNm: productData?.patncNm, diff --git a/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/HotelProduct.jsx b/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/HotelProduct.jsx index c7fbb02f..7ba5a253 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/HotelProduct.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/HotelProduct.jsx @@ -21,7 +21,11 @@ import { import TButton from "../../../components/TButton/TButton"; import TQRCode from "../../../components/TQRCode/TQRCode"; import * as Config from "../../../utils/Config"; -import { $L, formatGMTString } from "../../../utils/helperMethods"; +import { + $L, + formatGMTString, + formatLocalDateTime, +} from "../../../utils/helperMethods"; import IndicatorOptions from "../components/indicator/IndicatorOptions"; import ThemeIndicator from "../components/indicator/ThemeIndicator"; import StarRating from "../components/StarRating"; @@ -165,6 +169,7 @@ export default function HotelOption({ lgCatCd: "", lgCatNm: "", liveFlag: "N", + locDt: formatLocalDateTime(new Date()), logTpNo: Config.LOG_TP_NO.SHOP_BY_MOBILE.SHOP_BY_MOBILE, mbphNoFlag: "N", patncNm: selectedHotelInfo.patncNm, diff --git a/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowOptions/ShowUnableOption.jsx b/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowOptions/ShowUnableOption.jsx index a463e33d..847fd930 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowOptions/ShowUnableOption.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowOptions/ShowUnableOption.jsx @@ -9,6 +9,7 @@ export default function ThemeUnableOption({ soldoutFlag, selectedCurationId, selectedCurationNm, + handleMobileSendPopupOpen, }) { return ( <> @@ -25,6 +26,7 @@ export default function ThemeUnableOption({ selectedCurationId={selectedCurationId} selectedCurationNm={selectedCurationNm} smsTpCd={"APP00204"} + handleMobileSendPopupOpen={handleMobileSendPopupOpen} /> diff --git a/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowProduct.jsx b/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowProduct.jsx index 9affe8f4..528bcc60 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowProduct.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/ThemeProduct/ShowProduct.jsx @@ -11,7 +11,10 @@ import { sendLogShopByMobile, } from "../../../actions/logActions"; import { LOG_MENU, LOG_TP_NO } from "../../../utils/Config"; -import { formatGMTString } from "../../../utils/helperMethods"; +import { + formatGMTString, + formatLocalDateTime, +} from "../../../utils/helperMethods"; import IndicatorOptions from "../components/indicator/IndicatorOptions"; import ThemeIndicator from "../components/indicator/ThemeIndicator"; import ShowSingleOption from "./ShowOptions/ShowSingleOption"; @@ -163,6 +166,7 @@ export default function ShowOption({ lastPrice: productData?.priceInfo?.split("|")[1], lgCatCd: productData?.catCd ?? "", lgCatNm: productData?.catNm ?? "", + locDt: formatLocalDateTime(new Date()), liveFlag: panelInfo?.liveFlag ?? "N", logTpNo: LOG_TP_NO.SHOP_BY_MOBILE.SHOP_BY_MOBILE, mbphNoFlag: "N", @@ -251,6 +255,7 @@ export default function ShowOption({ selectedCurationId={selectedCurationId} selectedCurationNm={selectedCurationNm} soldoutFlag={isSoldout} + handleMobileSendPopupOpen={handleMobileSendPopupOpen} /> )} diff --git a/com.twin.app.shoptime/src/views/DetailPanel/UnableProduct/UnableProduct.jsx b/com.twin.app.shoptime/src/views/DetailPanel/UnableProduct/UnableProduct.jsx index 5dc1e846..81cadbf4 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/UnableProduct/UnableProduct.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/UnableProduct/UnableProduct.jsx @@ -11,7 +11,10 @@ import { sendLogShopByMobile, } from "../../../actions/logActions"; import { LOG_MENU, LOG_TP_NO } from "../../../utils/Config"; -import { formatGMTString } from "../../../utils/helperMethods"; +import { + formatGMTString, + formatLocalDateTime, +} from "../../../utils/helperMethods"; import Indicator from "../components/indicator/Indicator"; import IndicatorOptions from "../components/indicator/IndicatorOptions"; import ProductOption from "../components/ProductOption"; @@ -106,6 +109,7 @@ export default function UnableProduct({ lgCatCd: productData?.catCd ?? "", lgCatNm: productData?.catNm ?? "", liveFlag: panelInfo?.liveFlag ?? "N", + locDt: formatLocalDateTime(new Date()), logTpNo: LOG_TP_NO.SHOP_BY_MOBILE.SHOP_BY_MOBILE, mbphNoFlag: "N", patncNm: productData?.patncNm, diff --git a/com.twin.app.shoptime/src/views/HomePanel/EventPopUpBanner/EventPopUpBanner.jsx b/com.twin.app.shoptime/src/views/HomePanel/EventPopUpBanner/EventPopUpBanner.jsx index 0e0139ba..0d638554 100644 --- a/com.twin.app.shoptime/src/views/HomePanel/EventPopUpBanner/EventPopUpBanner.jsx +++ b/com.twin.app.shoptime/src/views/HomePanel/EventPopUpBanner/EventPopUpBanner.jsx @@ -1,46 +1,36 @@ -import React, { - useCallback, - useEffect, - useRef, - useState, -} from 'react'; +import React, { useCallback, useEffect, useRef, useState } from "react"; -import { - useDispatch, - useSelector, -} from 'react-redux'; +import { useDispatch, useSelector } from "react-redux"; -import Spotlight from '@enact/spotlight'; -import { - SpotlightContainerDecorator, -} from '@enact/spotlight/SpotlightContainerDecorator'; +import Spotlight from "@enact/spotlight"; +import { SpotlightContainerDecorator } from "@enact/spotlight/SpotlightContainerDecorator"; -import { clearSMS } from '../../../actions/appDataActions'; +import { clearSMS } from "../../../actions/appDataActions"; import { alertToast, setHidePopup, setShowPopup, -} from '../../../actions/commonActions'; +} from "../../../actions/commonActions"; import { clearGetProductCouponDownload, getProductCouponDownload, -} from '../../../actions/couponActions'; -import { setEventPopClickInfo } from '../../../actions/eventActions'; -import { pushPanel } from '../../../actions/panelActions'; -import { startVideoPlayer } from '../../../actions/playActions'; -import MobileSendPopUp from '../../../components/MobileSend/MobileSendPopUp'; -import TPopUp from '../../../components/TPopUp/TPopUp'; -import { launchMembershipApp } from '../../../lunaSend'; +} from "../../../actions/couponActions"; +import { setEventPopClickInfo } from "../../../actions/eventActions"; +import { sendLogGNB, sendLogShopByMobile } from "../../../actions/logActions"; +import { pushPanel } from "../../../actions/panelActions"; +import { startVideoPlayer } from "../../../actions/playActions"; +import MobileSendPopUp from "../../../components/MobileSend/MobileSendPopUp"; +import TPopUp from "../../../components/TPopUp/TPopUp"; +import { launchMembershipApp } from "../../../lunaSend"; import { ACTIVE_POPUP, LOG_MENU, LOG_TP_NO, MYINFO_TABS, panel_names, -} from '../../../utils/Config'; -import { $L } from '../../../utils/helperMethods'; -import css from '../EventPopUpBanner/EventPopUpBanner.module.less'; -import { sendLogGNB, sendLogShopByMobile } from '../../../actions/logActions'; +} from "../../../utils/Config"; +import { $L, formatLocalDateTime } from "../../../utils/helperMethods"; +import css from "../EventPopUpBanner/EventPopUpBanner.module.less"; const Container = SpotlightContainerDecorator( { enterTo: "last-focused" }, @@ -121,6 +111,7 @@ export default function EventPopUpBanner() { lgCatCd: "", lgCatNm: "", liveFlag: "N", + locDt: formatLocalDateTime(new Date()), logTpNo: LOG_TP_NO.SHOP_BY_MOBILE.SHOP_BY_MOBILE, mbphNoFlag: "N", patncNm: eventPopData?.patncNm, diff --git a/com.twin.app.shoptime/src/views/HotPicksPanel/HotPicksPanel.jsx b/com.twin.app.shoptime/src/views/HotPicksPanel/HotPicksPanel.jsx index 7dd66e01..b6ba2a0a 100644 --- a/com.twin.app.shoptime/src/views/HotPicksPanel/HotPicksPanel.jsx +++ b/com.twin.app.shoptime/src/views/HotPicksPanel/HotPicksPanel.jsx @@ -4,72 +4,65 @@ import React, { useMemo, useRef, useState, -} from 'react'; +} from "react"; -import classNames from 'classnames'; -import { - useDispatch, - useSelector, -} from 'react-redux'; +import classNames from "classnames"; +import { useDispatch, useSelector } from "react-redux"; -import { Job } from '@enact/core/util'; -import Spotlight from '@enact/spotlight'; -import SpotlightContainerDecorator - from '@enact/spotlight/SpotlightContainerDecorator'; -import Spottable from '@enact/spotlight/Spottable'; +import { Job } from "@enact/core/util"; +import Spotlight from "@enact/spotlight"; +import SpotlightContainerDecorator from "@enact/spotlight/SpotlightContainerDecorator"; +import Spottable from "@enact/spotlight/Spottable"; -import { clearSMS } from '../../actions/appDataActions'; +import { clearSMS } from "../../actions/appDataActions"; import { alertToast, setHidePopup, setShowPopup, -} from '../../actions/commonActions'; +} from "../../actions/commonActions"; import { clearGetProductCouponDownload, getProductCouponDownload, -} from '../../actions/couponActions'; -import { setEventIssueReq } from '../../actions/eventActions'; -import { getThemeCurationInfo } from '../../actions/homeActions'; +} from "../../actions/couponActions"; +import { setEventIssueReq } from "../../actions/eventActions"; +import { getThemeCurationInfo } from "../../actions/homeActions"; import { sendLogCuration, sendLogGNB, sendLogShopByMobile, -} from '../../actions/logActions'; +} from "../../actions/logActions"; import { popPanel, pushPanel, resetPanels, updatePanel, -} from '../../actions/panelActions'; +} from "../../actions/panelActions"; import { finishVideoPreview, startVideoPlayer, -} from '../../actions/playActions'; -import MobileSendPopUp from '../../components/MobileSend/MobileSendPopUp'; -import TBody from '../../components/TBody/TBody'; -import TButton, { TYPES } from '../../components/TButton/TButton'; -import TPanel from '../../components/TPanel/TPanel'; -import usePrevious from '../../hooks/usePrevious'; -import useScrollTo from '../../hooks/useScrollTo'; -import { launchMembershipApp } from '../../lunaSend'; -import * as Config from '../../utils/Config'; -import { - LOG_TP_NO, - panel_names, -} from '../../utils/Config'; -import { $L } from '../../utils/helperMethods'; -import { SpotlightIds } from '../../utils/SpotlightIds'; -import css from './HotPicks.module.less'; -import NoDataType from './Type/NoDataType/NoDataType'; -import TCFI from './Type/TCFI/TCFI'; -import TCFI_2 from './Type/TCFI_2/TCFI_2'; -import TCFI_3 from './Type/TCFI_3/TCFI_3'; -import TCFI_4 from './Type/TCFI_4/TCFI_4'; -import TCFV from './Type/TCFV/TCFV'; -import TCFV_2 from './Type/TCFV_2/TCFV_2'; -import TCFV_3 from './Type/TCFV_3/TCFV_3'; -import TCFV_4 from './Type/TCFV_4/TCFV_4'; -import TCHH from './Type/TCHH/TCHH'; +} from "../../actions/playActions"; +import MobileSendPopUp from "../../components/MobileSend/MobileSendPopUp"; +import TBody from "../../components/TBody/TBody"; +import TButton, { TYPES } from "../../components/TButton/TButton"; +import TPanel from "../../components/TPanel/TPanel"; +import usePrevious from "../../hooks/usePrevious"; +import useScrollTo from "../../hooks/useScrollTo"; +import { launchMembershipApp } from "../../lunaSend"; +import * as Config from "../../utils/Config"; +import { LOG_TP_NO, panel_names } from "../../utils/Config"; +import { $L, formatLocalDateTime } from "../../utils/helperMethods"; +import { SpotlightIds } from "../../utils/SpotlightIds"; +import css from "./HotPicks.module.less"; +import NoDataType from "./Type/NoDataType/NoDataType"; +import TCFI from "./Type/TCFI/TCFI"; +import TCFI_2 from "./Type/TCFI_2/TCFI_2"; +import TCFI_3 from "./Type/TCFI_3/TCFI_3"; +import TCFI_4 from "./Type/TCFI_4/TCFI_4"; +import TCFV from "./Type/TCFV/TCFV"; +import TCFV_2 from "./Type/TCFV_2/TCFV_2"; +import TCFV_3 from "./Type/TCFV_3/TCFV_3"; +import TCFV_4 from "./Type/TCFV_4/TCFV_4"; +import TCHH from "./Type/TCHH/TCHH"; const SpottableComponent = Spottable("button"); @@ -489,6 +482,7 @@ const HotPicksPanel = ({ panelInfo, isOnTop, spotlightId }) => { lgCatCd: themeCurationInfoData[currentPage].lgCatCd ?? "", lgCatNm: "", liveFlag: "N", + locDt: formatLocalDateTime(new Date()), logTpNo: Config.LOG_TP_NO.SHOP_BY_MOBILE.SHOP_BY_MOBILE, mbphNoFlag: "N", patncNm: themeCurationInfoData[currentPage].patncNm, diff --git a/com.twin.app.shoptime/src/views/WelcomeEventPanel/WelcomeEventPanel.jsx b/com.twin.app.shoptime/src/views/WelcomeEventPanel/WelcomeEventPanel.jsx index 17607122..68e7220d 100644 --- a/com.twin.app.shoptime/src/views/WelcomeEventPanel/WelcomeEventPanel.jsx +++ b/com.twin.app.shoptime/src/views/WelcomeEventPanel/WelcomeEventPanel.jsx @@ -20,6 +20,7 @@ import { getEventIssuedStaus, getWelcomeEventInfo, } from "../../actions/eventActions"; +import { sendLogGNB, sendLogShopByMobile } from "../../actions/logActions"; import { popPanel, pushPanel } from "../../actions/panelActions"; import { startVideoPlayer } from "../../actions/playActions"; import MobileSendPopUp from "../../components/MobileSend/MobileSendPopUp"; @@ -29,9 +30,13 @@ import TButtonTab from "../../components/TButtonTab/TButtonTab"; import TPanel from "../../components/TPanel/TPanel"; import TPopUp from "../../components/TPopUp/TPopUp"; import * as Config from "../../utils/Config"; -import { $L, scaleH, scaleW } from "../../utils/helperMethods"; +import { + $L, + formatLocalDateTime, + scaleH, + scaleW, +} from "../../utils/helperMethods"; import css from "../WelcomeEventPanel/WelcomeEventPanel.module.less"; -import { sendLogGNB, sendLogShopByMobile } from "../../actions/logActions"; const Container = SpotlightContainerDecorator( { enterTo: "last-focused" }, @@ -50,7 +55,6 @@ const getShopTpNm = (evntTpCd) => { }; const WelcomeEventPanel = ({ spotlightId }) => { - const dispatch = useDispatch(); const eventDatas = useSelector((state) => state.event.eventData); @@ -142,6 +146,7 @@ const WelcomeEventPanel = ({ spotlightId }) => { lgCatCd: eventInfo?.shptmLnkInfo?.lnkLgCatCd ?? "", lgCatNm: "", liveFlag: "N", + locDt: formatLocalDateTime(new Date()), logTpNo: Config.LOG_TP_NO.SHOP_BY_MOBILE.SHOP_BY_MOBILE, mbphNoFlag: "N", patncNm: "",