[저스트 포유] 패널 이미지 api에서 내려주는것으로 변경

- 패널이미지 교체
This commit is contained in:
junghoon86.park
2025-11-03 12:50:37 +09:00
parent 52b1949330
commit 0406c87499

View File

@@ -51,6 +51,10 @@ const JustForYouTestPanel = ({ panelInfo, ...rest }) => {
(state) => state.foryou?.justForYouInfo?.shelfInfos
);
const justForYouInfo = useSelector(
(state) => state.foryou?.justForYouInfo?.justForYouInfo
);
const onClick = useCallback(() => {
dispatch(popPanel(panel_names.JUST_FOR_YOU_TEST_PANEL));
}, [dispatch]);
@@ -150,7 +154,7 @@ const JustForYouTestPanel = ({ panelInfo, ...rest }) => {
onClick={onClick}
kind="justforyou"
/>
<CustomImage src={background} animationSpeed="none" />
<CustomImage src={justForYouInfo?.banrImgUrl} animationSpeed="none" />
</div>
{shelfInfos &&