diff --git a/cryptide_project/src/Pages/DeducGrid.tsx b/cryptide_project/src/Pages/DeducGrid.tsx index b5ea40d..e700d30 100644 --- a/cryptide_project/src/Pages/DeducGrid.tsx +++ b/cryptide_project/src/Pages/DeducGrid.tsx @@ -31,21 +31,28 @@ import ColorEdgesIndice from '../model/Indices/ColorEdgesIndice'; import SportIndice from '../model/Indices/SportIndice'; import NbEdgesIndice from '../model/Indices/NbEdgesIndice'; import NbSportIndice from '../model/Indices/NbSportIndice'; +import { useGame } from '../Contexts/GameContext'; function DeducGrid() { const theme = useTheme(); //const indices = Stub.GenerateIndice(); - const joueurs = [ - "bla", - "bli", - "blou" - ] + + const { players } = useGame(); + + + console.log(players) + + // const joueurs = [ + // "bla", + // "bli", + // "blou" + // ] return (