핫픽스 초기 포커스 확인용도
This commit is contained in:
@@ -508,6 +508,7 @@ export default function HotPicksPanel({ panelInfo, isOnTop, spotlightId }) {
|
||||
animate: false,
|
||||
});
|
||||
});
|
||||
|
||||
spotJobValue.stop();
|
||||
|
||||
if (panelInfo?.currentSpot) {
|
||||
@@ -683,8 +684,11 @@ export default function HotPicksPanel({ panelInfo, isOnTop, spotlightId }) {
|
||||
}, [couponDownloadRetCode, shopLinkInfo]);
|
||||
|
||||
useEffect(() => {
|
||||
Spotlight.focus(panel_names.HOT_PICKS_PANEL);
|
||||
spotJob.current.start(() => {
|
||||
Spotlight.focus(panel_names.HOT_PICKS_PANEL);
|
||||
});
|
||||
return () => {
|
||||
spotJob.current.stop();
|
||||
dispatch(clearSMS);
|
||||
dispatch(clearGetProductCouponDownload());
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user