Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 15aafa0

Browse files
authored
Merge pull request #5178 from matrix-org/t3chguy/crc.2
Fix create-react-class regression.
2 parents 87b72de + 8d03799 commit 15aafa0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/structures/auth/Login.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,11 @@ export default class LoginComponent extends React.Component {
124124
'm.login.cas': () => this._renderSsoStep("cas"),
125125
'm.login.sso': () => this._renderSsoStep("sso"),
126126
};
127+
}
127128

129+
// TODO: [REACT-WARNING] Replace with appropriate lifecycle event
130+
// eslint-disable-next-line camelcase
131+
UNSAFE_componentWillMount() {
128132
this._initLoginLogic();
129133
}
130134

0 commit comments

Comments
 (0)