search panel focus

This commit is contained in:
yonghyon
2024-06-13 20:49:57 +09:00
parent b5e0a650d1
commit 665e56ab24
10 changed files with 142 additions and 89 deletions

View File

@@ -72,7 +72,7 @@ export default function HomeBanner({
}
return "banner" + targetIndex;
}
return "banner0";
return null;
}, [bannerDataList]);
useEffect(() => {
@@ -87,7 +87,7 @@ export default function HomeBanner({
(index, isHorizontal) => {
const data = bannerDataList?.[index] ?? {};
return (
<div className={!isHorizontal && css.imgBox}>
<div className={!isHorizontal ? css.imgBox: undefined}>
{data.shptmDspyTpNm === "Rolling" ? (
<Rolling
bannerData={data}