Skip to content
Myr

Fix Typo (#3363)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Daniel · committed by GitHub · parent 8815101 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:docs/guides/tutorial-tic-tac-toe.md+1 added-1 removed
554 unmodified lines
555```js {2}556function handleClick(i) {557 if (squares[i] || winner) return558 const nextSquares = squares.slice()559 nextSquares[i] = player'559 nextSquares[i] = player560 setSquares(nextSquares)561 setXIsNext(!xIsNext)562}563```
866 unmodified lines