This commit is contained in:
wingedotter5 2025-05-10 20:56:31 +05:30 committed by GitHub
parent 028909eafa
commit 2fcfc30530
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1313,7 +1313,7 @@ export default function Game() {
function jumpTo(nextMove) {
setCurrentMove(nextMove)
setXIsNext(currentMove % 2 === 0)
setXIsNext(nextMove % 2 === 0)
}
return (