[PlayerPanel] LiveChannelContents.tsx, add props(chanId) to updatePanel

This commit is contained in:
younghoon100.park
2024-06-20 14:05:48 +09:00
parent 62ad50d696
commit 4ac0df271f

View File

@@ -34,6 +34,7 @@ export default function LiveChannelContents({
const renderItem = useCallback( const renderItem = useCallback(
({ index, ...rest }) => { ({ index, ...rest }) => {
const { const {
chanId,
dfltThumbnailImgPath, dfltThumbnailImgPath,
patncLogoPath, patncLogoPath,
prdtId, prdtId,
@@ -54,7 +55,7 @@ export default function LiveChannelContents({
dispatch( dispatch(
updatePanel({ updatePanel({
name: panel_names.PLAYER_PANEL, name: panel_names.PLAYER_PANEL,
panelInfo: { patnrId, showId, shptmBanrTpNm: "LIVE" }, panelInfo: { chanId, patnrId, showId, shptmBanrTpNm: "LIVE" },
}) })
); );
}; };