mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
Fix typo (#3115)
This commit is contained in:
parent
028909eafa
commit
2fcfc30530
@ -1313,7 +1313,7 @@ export default function Game() {
|
|||||||
|
|
||||||
function jumpTo(nextMove) {
|
function jumpTo(nextMove) {
|
||||||
setCurrentMove(nextMove)
|
setCurrentMove(nextMove)
|
||||||
setXIsNext(currentMove % 2 === 0)
|
setXIsNext(nextMove % 2 === 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user