[홈패널] config.js 플레이어 패널 등록
This commit is contained in:
@@ -20,6 +20,7 @@ export const panel_names = {
|
||||
FEATURED_BRANDS_PANEL: "featuredbrandspanel",
|
||||
WELCOME_EVENT_PANEL: "welcomeeventpanel",
|
||||
DETAIL_PANEL: "detailpanel",
|
||||
PLAYER_PANEL: "playerpanel",
|
||||
|
||||
// error
|
||||
ERROR_PANEL: "errorpanel",
|
||||
|
||||
@@ -7,7 +7,7 @@ import Spottable from "@enact/spotlight/Spottable";
|
||||
|
||||
import { pushPanel } from "../../../actions/panelActions";
|
||||
import { panel_names } from "../../../utils/Config";
|
||||
import PlayerPanel from "../../PlayerPanel/PlayerPanel";
|
||||
//import PlayerPanel from "../../PlayerPanel/PlayerPanel";
|
||||
import HomeTodayDeal from "../HomeTodayDeal/HomeTodayDeal";
|
||||
import ImageBanner from "./ImageBannerUnit";
|
||||
import css from "./RollingUnit.module.less";
|
||||
@@ -42,7 +42,7 @@ export default function RollingUnit({ bannerData, imageType, spotlightId }) {
|
||||
const handleClick = useCallback(() => {
|
||||
dispatch(
|
||||
pushPanel({
|
||||
name: panel_names.PlayerPanel,
|
||||
name: panel_names.PLAYER_PANEL,
|
||||
})
|
||||
);
|
||||
}, []);
|
||||
|
||||
Reference in New Issue
Block a user