mirror of https://github.com/vector-im/riot-web
Unused ref
parent
f469bbbb64
commit
476f69cbec
|
@ -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}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue