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.
This commit is contained in:
Jun Kim
2016-10-23 08:49:07 +09:00
committed by Ben Alpert
parent 2e9b16442c
commit 24978bc6e9

View File

@@ -414,7 +414,7 @@ const moves = history.map((step, move) => {
'Move #' + move :
'Game start';
return (
<li key={move}>
<li>
<a href="#" onClick={() => this.jumpTo(move)}>{desc}</a>
</li>
);