Fix "Dynamic Children" example
Luigy Leon committed
Dec 22, 2013 at 10:37 UTC
814faed08f5d691f534063be8ce573448542f912
1 file changed
+1
-1
docs/docs/04-multiple-components.md
+1
-1
@@ -124,7 +124,7 @@ The situation gets more complicated when the children are shuffled around (as in
124
var results = this.props.results;
125
return (
126
<ol>
127
- {this.results.map(function(result) {
127
+ {results.map(function(result) {
128
return <li key={result.id}>{result.text}</li>;
129
})}
130
</ol>