[EventPopupBanner] IF-LGSP-LOG-005 (GNB), 반영
This commit is contained in:
@@ -24,6 +24,7 @@ import useLogService from "../../../hooks/useLogService";
|
|||||||
import { launchMembershipApp } from "../../../lunaSend";
|
import { launchMembershipApp } from "../../../lunaSend";
|
||||||
import {
|
import {
|
||||||
ACTIVE_POPUP,
|
ACTIVE_POPUP,
|
||||||
|
LOG_MENU,
|
||||||
LOG_TP_NO,
|
LOG_TP_NO,
|
||||||
MYINFO_TABS,
|
MYINFO_TABS,
|
||||||
panel_names,
|
panel_names,
|
||||||
@@ -37,7 +38,7 @@ const Container = SpotlightContainerDecorator(
|
|||||||
);
|
);
|
||||||
|
|
||||||
export default function EventPopUpBanner() {
|
export default function EventPopUpBanner() {
|
||||||
const { sendLogShopByMobile } = useLogService();
|
const { sendLogGNB, sendLogShopByMobile } = useLogService();
|
||||||
|
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
|
|
||||||
@@ -65,6 +66,10 @@ export default function EventPopUpBanner() {
|
|||||||
const [smsTpCd, setSmsTpCd] = useState("");
|
const [smsTpCd, setSmsTpCd] = useState("");
|
||||||
const [eventPopData, setEventPopData] = useState({});
|
const [eventPopData, setEventPopData] = useState({});
|
||||||
|
|
||||||
|
useEffect(() => {
|
||||||
|
sendLogGNB(LOG_MENU.EVENT_POPUP);
|
||||||
|
}, [sendLogGNB]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (eventPopInfosData) {
|
if (eventPopInfosData) {
|
||||||
setEventPopData(eventPopInfosData);
|
setEventPopData(eventPopInfosData);
|
||||||
|
|||||||
Reference in New Issue
Block a user