diff --git a/src/components/structures/auth/SoftLogout.js b/src/components/structures/auth/SoftLogout.js index a6e89c1326..0c589c5bb1 100644 --- a/src/components/structures/auth/SoftLogout.js +++ b/src/components/structures/auth/SoftLogout.js @@ -74,9 +74,7 @@ export default class SoftLogout extends React.Component { componentDidMount(): void { this._initLogin(); - } - componentWillMount(): void { MatrixClientPeg.get().flagAllGroupSessionsForBackup().then(remaining => { this.setState({keyBackupNeeded: remaining > 0}); });