[저스트 포유] 패널 이미지 api에서 내려주는것으로 변경
- 패널이미지 교체
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user