Skip to content

Commit

Permalink
docs: fix typo in tutorial-tic-tac-toe.md (#2836)
Browse files Browse the repository at this point in the history
  • Loading branch information
ytraddan authored Nov 5, 2024
1 parent 7fcd59b commit 9782058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/tutorial-tic-tac-toe.md
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ export default function Board() {
```

`Array(9).fill(null)` creates an array with nine elements and sets each of them to `null`. The
`useSquaresStore` declares a `squares` state that's initially set to that array. Each entry in the
`useGameStore` declares a `squares` state that's initially set to that array. Each entry in the
array corresponds to the value of a square. When you fill the board in later, the squares array
will look like this:

Expand Down

0 comments on commit 9782058

Please sign in to comment.