mirror of
https://github.com/zhigang1992/reactfire.git
synced 2026-06-11 08:14:00 +08:00
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:
committed by
Jacob Wenger
parent
f63fafa699
commit
9e51a366e7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user