themedetail log 수정

This commit is contained in:
opacity@t-win.kr
2025-10-01 09:38:08 +09:00
parent 1042d5fb9c
commit 89cedb4044
2 changed files with 8 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
import React, { use, useCallback, useEffect, useMemo, useRef } from "react";
import React, { useCallback, useEffect, useMemo, useRef } from "react";
import { useDispatch, useSelector } from "react-redux";

View File

@@ -317,14 +317,20 @@ const FeaturedBrandsPanel = ({ isOnTop, panelInfo, spotlightId }) => {
) {
return;
}
const selectedBrand = `${LOG_MENU.FEATURED_BRANDS}/${selectedPatncNm}`;
const currentShelf = `${getMenuByContainerId(containerId)}`;
const menu =
selectedBrand && currentShelf && `${selectedBrand} ${currentShelf}`;
dispatch(sendLogGNB(menu));
// sortedBrandLayoutInfo.forEach((el) => {
// if (el.shptmBrndOptTpNm === currentShelf) {
// console.log("###el", el);
// }
// console.log("###shelfOrder", shelfOrder);
// });
dispatch(
sendLogTotalRecommend({
contextName: LOG_CONTEXT_NAME.FEATURED_BRANDS,