mirror of
https://github.com/TheRealOwenRees/chess-scribe-website.git
synced 2026-07-23 09:56:57 +00:00
pass current fen and ply to state
This commit is contained in:
@@ -4,6 +4,8 @@ import Chessboard from "#/pages/Chessboard.tsx";
|
||||
const ChessboardContainer = () => {
|
||||
const chessGameProps = useChessGame();
|
||||
|
||||
console.log(chessGameProps.currentPosition);
|
||||
|
||||
return (
|
||||
<Chessboard
|
||||
gameState={chessGameProps.gameState}
|
||||
|
||||
Reference in New Issue
Block a user