PR #594 Fixing test for issue #524

This commit is contained in:
Jeff Wheeler 2015-10-08 19:36:05 -04:00
parent 1f2b525f58
commit dc641c48bc
1 changed files with 3 additions and 6 deletions

View File

@ -1,10 +1,7 @@
var Mist = React.createClass({ var Mist = React.createClass({
renderList: function() { renderList: function() {
return this return this.props.items.map(function(item) {
.props return <ListItem item={return <tag>{item}</tag>} key={item.id}/>;
.items });
.map(function(item) {
return <ListItem item={return <tag>{item}</tag>} key={item.id}/>;
});
} }
}); });