fix : reset board to starting position

This commit is contained in:
GuillaumeSD
2025-07-04 17:57:21 +02:00
parent 2674243b0c
commit 05908e3b03

View File

@@ -27,7 +27,7 @@ export default function LoadGame() {
const resetAndSetGamePgn = useCallback(
(pgn: string) => {
resetBoard();
resetBoard(pgn);
setEval(undefined);
setGamePgn(pgn);
},