You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-20 16:22:28 +03:00
Remove spurious void
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user