From 476f69cbec1f0ac5edda3885e409ac2589926de4 Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 3 Aug 2016 17:38:13 +0100 Subject: [PATCH] Unused ref --- src/components/structures/login/Login.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/components/structures/login/Login.js b/src/components/structures/login/Login.js index b402f12502..e39525c317 100644 --- a/src/components/structures/login/Login.js +++ b/src/components/structures/login/Login.js @@ -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} /> );