fix : reset board to starting position
This commit is contained in:
@@ -27,7 +27,7 @@ export default function LoadGame() {
|
||||
|
||||
const resetAndSetGamePgn = useCallback(
|
||||
(pgn: string) => {
|
||||
resetBoard();
|
||||
resetBoard(pgn);
|
||||
setEval(undefined);
|
||||
setGamePgn(pgn);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user