[홈패널] config.js 플레이어 패널 등록

This commit is contained in:
sungmin.in
2024-03-05 11:08:57 +09:00
parent f1227d6454
commit ac0714c11f
2 changed files with 3 additions and 2 deletions

View File

@@ -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",

View File

@@ -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,
})
);
}, []);