mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Merge pull request #5178 from matrix-org/t3chguy/crc.2
Fix create-react-class regression.
This commit is contained in:
commit
15aafa019d
@ -124,7 +124,11 @@ export default class LoginComponent extends React.Component {
|
|||||||
'm.login.cas': () => this._renderSsoStep("cas"),
|
'm.login.cas': () => this._renderSsoStep("cas"),
|
||||||
'm.login.sso': () => this._renderSsoStep("sso"),
|
'm.login.sso': () => this._renderSsoStep("sso"),
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
// TODO: [REACT-WARNING] Replace with appropriate lifecycle event
|
||||||
|
// eslint-disable-next-line camelcase
|
||||||
|
UNSAFE_componentWillMount() {
|
||||||
this._initLoginLogic();
|
this._initLoginLogic();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user