diff --git a/docs/guides/tutorial-tic-tac-toe.md b/docs/guides/tutorial-tic-tac-toe.md index b8021c86f1..e8a51d9481 100644 --- a/docs/guides/tutorial-tic-tac-toe.md +++ b/docs/guides/tutorial-tic-tac-toe.md @@ -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: