Fix this contexts

This commit is contained in:
Michael Telatynski 2020-08-29 13:19:05 +01:00
parent c120458b81
commit 646c9f1a83

View file

@ -569,7 +569,7 @@ export default class LoginComponent extends React.Component {
return null; return null;
} }
_renderPasswordStep() { _renderPasswordStep = () => {
const PasswordLogin = sdk.getComponent('auth.PasswordLogin'); const PasswordLogin = sdk.getComponent('auth.PasswordLogin');
let onEditServerDetailsClick = null; let onEditServerDetailsClick = null;
@ -598,9 +598,9 @@ export default class LoginComponent extends React.Component {
busy={this.props.isSyncing || this.state.busyLoggingIn} busy={this.props.isSyncing || this.state.busyLoggingIn}
/> />
); );
} };
_renderSsoStep(loginType) { _renderSsoStep = loginType => {
const SignInToText = sdk.getComponent('views.auth.SignInToText'); const SignInToText = sdk.getComponent('views.auth.SignInToText');
let onEditServerDetailsClick = null; let onEditServerDetailsClick = null;
@ -629,7 +629,7 @@ export default class LoginComponent extends React.Component {
/> />
</div> </div>
); );
} };
render() { render() {
const Loader = sdk.getComponent("elements.Spinner"); const Loader = sdk.getComponent("elements.Spinner");