瀏覽代碼

Merge branch 'dev' into feature-lucky

xiaolin.fu 1 年之前
父節點
當前提交
5a7d0dc9d3
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>