Removed unneeded inner bind(this) (#122)

The inner bind is useless
create-react-apps 'default webpack config was what pointed out this issue.
This commit is contained in:
Shashanka Nataraj
2017-02-08 00:27:12 +05:30
committed by Jacob Wenger
parent f63fafa699
commit 9e51a366e7

View File

@@ -32,7 +32,7 @@ var TodoApp2 = React.createClass({
var item = childSnapshot.val();
item['.key'] = childSnapshot.key;
items.push(item);
}.bind(this));
});
this.setState({
items: items