From aca2ee97b0c5ac77ae4da25c5825a7b36e36d3e7 Mon Sep 17 00:00:00 2001 From: "younghoon100.park" Date: Fri, 21 Jun 2024 17:33:12 +0900 Subject: [PATCH] =?UTF-8?q?[EventPopupBanner]=20IF-LGSP-LOG-005=20(GNB),?= =?UTF-8?q?=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/HomePanel/EventPopUpBanner/EventPopUpBanner.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 4e2ad9bd..0854c86c 100644 --- a/com.twin.app.shoptime/src/views/HomePanel/EventPopUpBanner/EventPopUpBanner.jsx +++ b/com.twin.app.shoptime/src/views/HomePanel/EventPopUpBanner/EventPopUpBanner.jsx @@ -24,6 +24,7 @@ import useLogService from "../../../hooks/useLogService"; import { launchMembershipApp } from "../../../lunaSend"; import { ACTIVE_POPUP, + LOG_MENU, LOG_TP_NO, MYINFO_TABS, panel_names, @@ -37,7 +38,7 @@ const Container = SpotlightContainerDecorator( ); export default function EventPopUpBanner() { - const { sendLogShopByMobile } = useLogService(); + const { sendLogGNB, sendLogShopByMobile } = useLogService(); const dispatch = useDispatch(); @@ -65,6 +66,10 @@ export default function EventPopUpBanner() { const [smsTpCd, setSmsTpCd] = useState(""); const [eventPopData, setEventPopData] = useState({}); + useEffect(() => { + sendLogGNB(LOG_MENU.EVENT_POPUP); + }, [sendLogGNB]); + useEffect(() => { if (eventPopInfosData) { setEventPopData(eventPopInfosData);