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:
MaxiBoether 2017-04-29 18:28:33 +02:00 committed by GitHub
parent 2bd12a9ecd
commit 95cb2baab2

View file

@ -16,7 +16,7 @@ var AddressSection = React.createClass({
this.setState({ this.setState({
address: address, address: address,
}); });
}.bind(this)); });
}, },
_getNewAddress: function(event) { _getNewAddress: function(event) {
@ -29,7 +29,7 @@ var AddressSection = React.createClass({
this.setState({ this.setState({
address: address, address: address,
}); });
}.bind(this)); });
}, },
getInitialState: function() { getInitialState: function() {