ajout d'un theme global pour toutes les couleurs primaire, secondaire et quelque texte principaux 💄

pull/56/head
Pierre Ferreira 1 year ago committed by Thomas Chazot
parent 3ce7445af0
commit 74ab5b4ffd

@ -104,7 +104,6 @@ const MyGraphComponent: React.FC<MyGraphComponentProps> = ({onNodeClick, handleS
onNodeClick(false) onNodeClick(false)
playerIndex = newPlayerIndex playerIndex = newPlayerIndex
networkData.nodes.update({id: id, label: node.label + colorToEmoji(color, works)}) networkData.nodes.update({id: id, label: node.label + colorToEmoji(color, works)})
console.log(playerIndex + " => " + thisPlayerIndex)
if (playerIndex === thisPlayerIndex){ if (playerIndex === thisPlayerIndex){
handleShowTurnBar(true) handleShowTurnBar(true)
} }

@ -50,7 +50,6 @@ const InGame = ({locale, changeLocale}) => {
const handleShowTurnBar = (shouldShowTurnBar: boolean) => { const handleShowTurnBar = (shouldShowTurnBar: boolean) => {
console.log("je passe bien ici avec : " + shouldShowTurnBar)
setShowTurnBar(shouldShowTurnBar); setShowTurnBar(shouldShowTurnBar);
}; };

Loading…
Cancel
Save