From 74ab5b4ffd4ddb9b40bb6782a8e63b7e659980ec Mon Sep 17 00:00:00 2001 From: Pierre Ferreira Date: Mon, 13 Nov 2023 10:49:34 +0100 Subject: [PATCH] ajout d'un theme global pour toutes les couleurs primaire, secondaire et quelque texte principaux :lipstick: --- cryptide_project/src/Components/GraphContainer.tsx | 1 - cryptide_project/src/Pages/InGame.tsx | 1 - 2 files changed, 2 deletions(-) diff --git a/cryptide_project/src/Components/GraphContainer.tsx b/cryptide_project/src/Components/GraphContainer.tsx index 6985a93..b2f5f3a 100644 --- a/cryptide_project/src/Components/GraphContainer.tsx +++ b/cryptide_project/src/Components/GraphContainer.tsx @@ -104,7 +104,6 @@ const MyGraphComponent: React.FC = ({onNodeClick, handleS onNodeClick(false) playerIndex = newPlayerIndex networkData.nodes.update({id: id, label: node.label + colorToEmoji(color, works)}) - console.log(playerIndex + " => " + thisPlayerIndex) if (playerIndex === thisPlayerIndex){ handleShowTurnBar(true) } diff --git a/cryptide_project/src/Pages/InGame.tsx b/cryptide_project/src/Pages/InGame.tsx index a346071..18ff34a 100644 --- a/cryptide_project/src/Pages/InGame.tsx +++ b/cryptide_project/src/Pages/InGame.tsx @@ -50,7 +50,6 @@ const InGame = ({locale, changeLocale}) => { const handleShowTurnBar = (shouldShowTurnBar: boolean) => { - console.log("je passe bien ici avec : " + shouldShowTurnBar) setShowTurnBar(shouldShowTurnBar); };