1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

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}
/>
);