Browse Source

Merge pull request #695 from luigy/patch-1

Fix "Dynamic Children" example
main
Paul O’Shannessy 11 years ago
parent
commit
4795c0b03e
  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;
return (
<ol>
{this.results.map(function(result) {
{results.map(function(result) {
return <li key={result.id}>{result.text}</li>;
})}
</ol>

Loading…
Cancel
Save