year 1 ヶ月 前
コミット
f984a4d8d9

+ 2 - 1
src/app/[locale]/(TabBar)/[[...share]]/_home/HomeGames.tsx

@@ -40,8 +40,9 @@ const HomeGames = (props: Props) => {
 
     const { groupGames = [] } = props;
     const todoHandler = (item: Category) => {
+        //${item.bet_type}
         router.push(
-            `/gameList/?gameListFlag=${item.jump_id}&type=${item.type}&bet_type=${item.bet_type}&name=${item.category_name}`
+            `/gameList/?gameListFlag=${item.jump_id}&type=${item.type}&bet_type=1&name=${item.category_name}`
         );
     };
 

+ 1 - 1
src/components/Card/SwiperGroup.tsx

@@ -93,7 +93,7 @@ const HomeSwiper: FC<PropsWithChildren<SwiperGroupProps>> = (props) => {
                         action_params: group.action_params,
                         additional: {
                             default: (adata: any) => {
-                                todoHandler && todoHandler(group);
+                                todoHandler && todoHandler(adata);
                             },
                         },
                     },