Unused ref

pull/21833/head
David Baker 2016-08-03 17:38:13 +01:00
parent f469bbbb64
commit 476f69cbec
1 changed files with 0 additions and 2 deletions

View File

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