HomeBanner 클릭시 카테고리 아이디 panelInfo로 보내기

This commit is contained in:
고동영
2024-04-09 11:06:25 +09:00
parent 954a24a110
commit 2964401910

View File

@@ -1,21 +1,28 @@
import React, { useCallback, useEffect, useState } from "react";
import React, {
useCallback,
useEffect,
useState,
} from 'react';
import classNames from "classnames";
import { useDispatch } from "react-redux";
import classNames from 'classnames';
import { useDispatch } from 'react-redux';
import Spotlight from "@enact/spotlight";
import SpotlightContainerDecorator from "@enact/spotlight/SpotlightContainerDecorator";
import Spottable from "@enact/spotlight/Spottable";
import Spotlight from '@enact/spotlight';
import SpotlightContainerDecorator
from '@enact/spotlight/SpotlightContainerDecorator';
import Spottable from '@enact/spotlight/Spottable';
import btnPlay from "../../../../assets/images/btn/btn-play-thumb-nor.png";
import emptyHorImage from "../../../../assets/images/img-home-banner-empty-hor.png";
import emptyVerImage from "../../../../assets/images/img-home-banner-empty-ver.png";
import liveShow from "../../../../assets/images/tag-liveshow.png";
import { pushPanel } from "../../../actions/panelActions";
import usePriceInfo from "../../../hooks/usePriceInfo";
import useScrollReset from "../../../hooks/useScrollReset";
import { panel_names } from "../../../utils/Config";
import css from "./RollingUnit.module.less";
import btnPlay from '../../../../assets/images/btn/btn-play-thumb-nor.png';
import emptyHorImage
from '../../../../assets/images/img-home-banner-empty-hor.png';
import emptyVerImage
from '../../../../assets/images/img-home-banner-empty-ver.png';
import liveShow from '../../../../assets/images/tag-liveshow.png';
import { pushPanel } from '../../../actions/panelActions';
import usePriceInfo from '../../../hooks/usePriceInfo';
import useScrollReset from '../../../hooks/useScrollReset';
import { panel_names } from '../../../utils/Config';
import css from './RollingUnit.module.less';
const SpottableComponent = Spottable("div");
@@ -224,6 +231,7 @@ export default function RollingUnit({
patnrId: rollingData[startIndex].patnrId,
showId: rollingData[startIndex].showId,
shptmBanrTpNm: rollingData[startIndex].shptmBanrTpNm,
lgCatCd: rollingData[startIndex].lgCatCd,
},
})
);