Browse Source

Fix "Dynamic Children" example

main
Luigy Leon 11 years ago
parent
commit
d4ab34b188
  1. 2
      docs/04-multiple-components.md

2
docs/04-multiple-components.md

@ -124,7 +124,7 @@ The situation gets more complicated when the children are shuffled around (as in
var results = this.props.results; var results = this.props.results;
return ( return (
<ol> <ol>
{this.results.map(function(result) { {results.map(function(result) {
return <li key={result.id}>{result.text}</li>; return <li key={result.id}>{result.text}</li>;
})} })}
</ol> </ol>

Loading…
Cancel
Save