[OnSalePanel] CategoryNav 노출 조건 추가
Detail Notes :
This commit is contained in:
@@ -72,7 +72,9 @@ export default function OnSalePanel() {
|
||||
getOnSaleInfo({ lgCatCd: selectedLgCatCd, saleInfosIncFlag: "Y" })
|
||||
);
|
||||
|
||||
Spotlight.focus("spotlightId-" + selectedLgCatCd);
|
||||
timerRef.current = setTimeout(() =>
|
||||
Spotlight.focus("spotlightId-" + selectedLgCatCd)
|
||||
);
|
||||
}
|
||||
}, [selectedLgCatCd, dispatch]);
|
||||
|
||||
@@ -105,12 +107,14 @@ export default function OnSalePanel() {
|
||||
|
||||
return (
|
||||
<TPanel className={css.tPanel} id={"tPanel"}>
|
||||
<OnSaleNav
|
||||
categoryInfos={categories}
|
||||
scrollTop={scrollTop}
|
||||
selectedLgCatCd={selectedLgCatCd}
|
||||
setSelectedLgCatCd={setSelectedLgCatCd}
|
||||
/>
|
||||
{categories && categories.length > 0 && (
|
||||
<OnSaleNav
|
||||
categoryInfos={categories}
|
||||
scrollTop={scrollTop}
|
||||
selectedLgCatCd={selectedLgCatCd}
|
||||
setSelectedLgCatCd={setSelectedLgCatCd}
|
||||
/>
|
||||
)}
|
||||
|
||||
<TBody className={css.tBody} cbScrollTo={getScrollTo}>
|
||||
{saleInfos &&
|
||||
|
||||
Reference in New Issue
Block a user