mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 10:15:43 +03:00
Remove spurious void
This commit is contained in:
parent
e7ed4c13f5
commit
b3bb3aff84
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ export default class AdvancedRoomSettingsTab extends React.Component {
|
|||
};
|
||||
}
|
||||
|
||||
componentWillMount(): void {
|
||||
componentWillMount() {
|
||||
// we handle lack of this object gracefully later, so don't worry about it failing here.
|
||||
MatrixClientPeg.get().getRoom(this.props.roomId).getRecommendedVersion().then((v) => {
|
||||
this.setState({upgradeRecommendation: v});
|
||||
|
|
Loading…
Reference in a new issue