Unused ref

This commit is contained in:
David Baker 2016-08-03 17:38:13 +01:00
parent f469bbbb64
commit 476f69cbec

View file

@ -63,7 +63,6 @@ module.exports = React.createClass({displayName: 'Login',
},
componentWillMount: function() {
this._passwordLogin = null;
this._initLoginLogic();
},
@ -197,7 +196,6 @@ module.exports = React.createClass({displayName: 'Login',
initialUsername={this.state.username}
onUsernameChanged={this.onUsernameChanged}
onForgotPasswordClick={this.props.onForgotPasswordClick}
ref={(e) => {this._passwordLogin = e;}}
loginIncorrect={loginIncorrect}
/>
);