xiaolin.fu il y a 3 mois
Parent
commit
6ad14d5065
1 fichiers modifiés avec 2 ajouts et 3 suppressions
  1. 2 3
      src/hooks/useGame.tsx

+ 2 - 3
src/hooks/useGame.tsx

@@ -66,9 +66,8 @@ const useGame = () => {
                     // if(categoryName?.toLowerCase() === 'pp'){
                     let isPP = /^1\d{5}$/.test(gameId)
                     if(!!isPP){
-                      const ppUrl = `${encodeURI(res.data.game_url)}&category_name=${game.provider}`;
-                      console.log('category_name333',ppUrl)
-                      window.open(ppUrl,'_self');
+                      // const ppUrl = `${encodeURI(res.data.game_url)}&category_name=${game.provider}`;
+                      window.open(url,'_self');
                       return
                     }