@@ -14,7 +14,7 @@ const HomeSwiper: FC<PropsWithChildren<Props>> = (props) => {
}, []);
return (
<div>
- {groupGames.map((group, index) => {
+ {!!groupGames &&groupGames.map((group, index) => {
return <SwiperGroup key={index} group={group}></SwiperGroup>;
})}
</div>