pass current fen and ply to state

This commit is contained in:
2026-06-02 14:44:18 +02:00
parent b8bd48885e
commit 98fbc4d253
3 changed files with 23 additions and 4 deletions
+2
View File
@@ -4,6 +4,8 @@ import Chessboard from "#/pages/Chessboard.tsx";
const ChessboardContainer = () => {
const chessGameProps = useChessGame();
console.log(chessGameProps.currentPosition);
return (
<Chessboard
gameState={chessGameProps.gameState}