From f97751c7a4063ac937047a30dea2d62d5bc2f005 Mon Sep 17 00:00:00 2001 From: Thomas Chazot Date: Fri, 15 Dec 2023 11:06:02 +0100 Subject: [PATCH] test pour voir si on passe dans les stats --- cryptide_project/src/Components/GraphContainer.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cryptide_project/src/Components/GraphContainer.tsx b/cryptide_project/src/Components/GraphContainer.tsx index 68e669f..806f709 100644 --- a/cryptide_project/src/Components/GraphContainer.tsx +++ b/cryptide_project/src/Components/GraphContainer.tsx @@ -1149,7 +1149,9 @@ const MyGraphComponent: React.FC = ({onNodeClick, handleS try{ console.log("time: " + testTemps) + console.log("avant les stats ligne 1152") if(user && isLoggedIn && !downloaded){ + console.log("passe dans les stats ligne 1154") if(solo){ if(isDaily){ // TODO: verif difficulté et add les stats @@ -1173,7 +1175,9 @@ const MyGraphComponent: React.FC = ({onNodeClick, handleS } else{ // add stats mastermind + console.log("avant les stats ligne 1178") if(user && user.mastermindStats && !downloaded){ + console.log("passe dans les stats ligne 1180") manager.userService.addMastermindStats(user.pseudo, cptTour, elapsedTime); } }