docs: fix typo in tutorial-tic-tac-toe.md (#2836)

This commit is contained in:
ytraddan 2024-11-05 19:30:26 +03:00 committed by GitHub
parent 7fcd59b10d
commit 9782058029
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: