logaction

This commit is contained in:
yonghyon
2024-07-16 17:26:34 +09:00
parent 951d3b5957
commit 4465b28f51
31 changed files with 147 additions and 1672 deletions

View File

@@ -21,12 +21,12 @@ import liveShow from "../../../../assets/images/tag-liveshow.png";
import { pushPanel } from "../../../actions/panelActions";
import { startVideoPlayer } from "../../../actions/playActions";
import CustomImage from "../../../components/CustomImage/CustomImage";
import useLogService from "../../../hooks/useLogService";
import usePriceInfo from "../../../hooks/usePriceInfo";
import useScrollReset from "../../../hooks/useScrollReset";
import { LOG_MENU, LOG_TP_NO, panel_names } from "../../../utils/Config";
import { formatGMTString } from "../../../utils/helperMethods";
import css from "./RollingUnit.module.less";
import { sendLogTopContents } from "../../../actions/logActions";
const SpottableComponent = Spottable("div");
@@ -44,8 +44,6 @@ export default function RollingUnit({
const rollingData = bannerData.bannerDetailInfos;
const rollingDataLength = bannerData.bannerDetailInfos.length;
const { sendLogTopContents } = useLogService();
const dispatch = useDispatch();
const curationId = useSelector((state) => state.home?.bannerData?.curationId);
@@ -378,7 +376,7 @@ export default function RollingUnit({
return () => {
if (arrRef.current.every((number) => number !== startIndex)) {
sendLogTopContents(params);
dispatch(sendLogTopContents(params));
arrRef.current.push(startIndex);
}
};
@@ -387,7 +385,6 @@ export default function RollingUnit({
curationId,
curtNm,
nowMenu,
sendLogTopContents,
shptmTmplCd,
startIndex,
]);