Appease the linter

pull/21833/head
Travis Ralston 2021-02-18 15:30:03 -07:00
parent 52c73a7a58
commit 10b0051c02
2 changed files with 2 additions and 2 deletions

View File

@ -914,7 +914,7 @@ class SettingsExplorer extends React.Component {
} }
renderCanEditLevel(roomId, level) { renderCanEditLevel(roomId, level) {
let canEdit = SettingsStore.canSetValue(this.state.editSetting, roomId, level); const canEdit = SettingsStore.canSetValue(this.state.editSetting, roomId, level);
const className = canEdit ? 'mx_DevTools_SettingsExplorer_mutable' : 'mx_DevTools_SettingsExplorer_immutable'; const className = canEdit ? 'mx_DevTools_SettingsExplorer_mutable' : 'mx_DevTools_SettingsExplorer_immutable';
return <td className={className}><code>{canEdit.toString()}</code></td>; return <td className={className}><code>{canEdit.toString()}</code></td>;
} }