diff --git a/src/components/structures/auth/Login.js b/src/components/structures/auth/Login.js index 9a639ed58a..53769fb5a6 100644 --- a/src/components/structures/auth/Login.js +++ b/src/components/structures/auth/Login.js @@ -569,7 +569,7 @@ export default class LoginComponent extends React.Component { return null; } - _renderPasswordStep() { + _renderPasswordStep = () => { const PasswordLogin = sdk.getComponent('auth.PasswordLogin'); let onEditServerDetailsClick = null; @@ -598,9 +598,9 @@ export default class LoginComponent extends React.Component { busy={this.props.isSyncing || this.state.busyLoggingIn} /> ); - } + }; - _renderSsoStep(loginType) { + _renderSsoStep = loginType => { const SignInToText = sdk.getComponent('views.auth.SignInToText'); let onEditServerDetailsClick = null; @@ -629,7 +629,7 @@ export default class LoginComponent extends React.Component { /> ); - } + }; render() { const Loader = sdk.getComponent("elements.Spinner");