Removed .bind() from lambda
wallet.js did not compile with .bind after the lambda function, and after talking in #dev in Gitter we came to the conclusion to just remove the bind as it's not necessary
This commit is contained in:
parent
2bd12a9ecd
commit
95cb2baab2
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ var AddressSection = React.createClass({
|
|||
this.setState({
|
||||
address: address,
|
||||
});
|
||||
}.bind(this));
|
||||
});
|
||||
},
|
||||
|
||||
_getNewAddress: function(event) {
|
||||
|
@ -29,7 +29,7 @@ var AddressSection = React.createClass({
|
|||
this.setState({
|
||||
address: address,
|
||||
});
|
||||
}.bind(this));
|
||||
});
|
||||
},
|
||||
|
||||
getInitialState: function() {
|
||||
|
|
Loading…
Reference in a new issue