Remove spurious void

pull/21833/head
Travis Ralston 2019-01-29 21:46:51 -07:00 committed by GitHub
parent e7ed4c13f5
commit b3bb3aff84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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});