From b3bb3aff844ae46499bfc8669acea0e90e5362b7 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 29 Jan 2019 21:46:51 -0700 Subject: [PATCH] Remove spurious void --- src/components/views/settings/tabs/AdvancedRoomSettingsTab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/settings/tabs/AdvancedRoomSettingsTab.js b/src/components/views/settings/tabs/AdvancedRoomSettingsTab.js index a0f24000a8..9b99622516 100644 --- a/src/components/views/settings/tabs/AdvancedRoomSettingsTab.js +++ b/src/components/views/settings/tabs/AdvancedRoomSettingsTab.js @@ -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});