Explorar o código

Merge branch 'dev' into feature-lucky

xiaolin.fu hai 1 ano
pai
achega
5a7d0dc9d3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/app/[locale]/_home/HomeGames.tsx

+ 1 - 1
src/app/[locale]/_home/HomeGames.tsx

@@ -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>