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;
}
_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 {
/>
</div>
);
}
};
render() {
const Loader = sdk.getComponent("elements.Spinner");