핫픽스 초기 포커스 확인용도

This commit is contained in:
junghoon86.park
2024-07-01 20:05:47 +09:00
parent a9589d4c75
commit 0d6a7e6727

View File

@@ -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());
};