This commit is contained in:
2025-12-04 19:57:06 +05:30
parent 8436cdbcdd
commit b00519347a

View File

@@ -23,7 +23,7 @@ const INITIAL_GAME_STATE: GameState = {
export default function App() { export default function App() {
// unified game state // unified game state
const [game, setGame] = useState<GameState>(INITIAL_GAME_STATE); const [game, setGame] = useState<GameState>(INITIAL_GAME_STATE);
const { sendMatchData, onMatchData, matchId, session } = useNakama(); const { onMatchData, matchId, session } = useNakama();
const commonProps: GameProps = { const commonProps: GameProps = {
boards: game.boards, boards: game.boards,