1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-13 08:02:38 +03:00

Appease the linter

This commit is contained in:
Travis Ralston
2020-06-30 19:37:00 -06:00
parent d402808101
commit 0868af650a

View File

@@ -38,7 +38,7 @@ export default class PreferencesUserSettingsTab extends React.Component {
];
// TODO: Remove temp structures: https://github.com/vector-im/riot-web/issues/14231
static ELIGIBLE_ROOM_LIST_SETTINGS = () => {
static eligibleRoomListSettings = () => {
if (RoomListStoreTempProxy.isUsingNewStore()) {
return PreferencesUserSettingsTab.ROOM_LIST_2_SETTINGS;
}
@@ -189,7 +189,7 @@ export default class PreferencesUserSettingsTab extends React.Component {
<div className="mx_SettingsTab_section">
<span className="mx_SettingsTab_subheading">{_t("Room list")}</span>
{this._renderGroup(PreferencesUserSettingsTab.ELIGIBLE_ROOM_LIST_SETTINGS())}
{this._renderGroup(PreferencesUserSettingsTab.eligibleRoomListSettings())}
</div>
<div className="mx_SettingsTab_section">