Skip to content

Commit abb0332

Browse files
AhmedBasetneighborhood999
authored andcommitted
Update tutorial error message to use ConsoleBlock
1 parent 647ed19 commit abb0332

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/content/learn/tutorial-tic-tac-toe.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2073,7 +2073,13 @@ export default function Game() {
20732073
}
20742074
```
20752075
2076-
You can see what your code should look like below. Note that you should see an error in the developer tools console that says: ``Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of `Game`.`` You'll fix this error in the next section.
2076+
You can see what your code should look like below. Note that you should see an error in the developer tools console that says:
2077+
2078+
<ConsoleBlock level="warning">
2079+
Warning: Each child in an array or iterator should have a unique "key" prop. Check the render method of &#96;Game&#96;.
2080+
</ConsoleBlock>
2081+
2082+
You'll fix this error in the next section.
20772083
20782084
<Sandpack>
20792085

0 commit comments

Comments
 (0)