Fix illogical code in tutorial.md (#8048)
The tutorial wants to throw a 'warning' and explains about 'key' of React's list, but it throws nothing since there is sensible key. "key={move}" should be removed, and added after explaining about key.
Jun Kim committed
Oct 23, 2016 at 08:49 UTC
284a96b9a668325cc0b6a0b8c2b64ecacc437b3f
1 file changed
+1
-1
docs/tutorial/tutorial.md
+1
-1
@@ -414,7 +414,7 @@ const moves = history.map((step, move) => {
414
'Move #' + move :
415
'Game start';
416
return (
417
- <li key={move}>
417
+ <li>
418
<a href="#" onClick={() => this.jumpTo(move)}>{desc}</a>
419
</li>
420
);