@ -104,7 +104,6 @@ const MyGraphComponent: React.FC<MyGraphComponentProps> = ({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)
}
@ -50,7 +50,6 @@ const InGame = ({locale, changeLocale}) => {
const handleShowTurnBar = (shouldShowTurnBar: boolean) => {
console.log("je passe bien ici avec : " + shouldShowTurnBar)
setShowTurnBar(shouldShowTurnBar);
};