Simplifie

This commit is contained in:
Šimon Brandner 2020-12-03 11:50:08 +01:00
parent bab541a652
commit fa19adcfe0

View file

@ -401,7 +401,7 @@ export default class GeneralUserSettingsTab extends React.Component {
render() {
const plaf = PlatformPeg.get();
const supportsMultiLanguageSpellCheck = plaf.supportsMultiLanguageSpellCheck() ? true : false;
const supportsMultiLanguageSpellCheck = plaf.supportsMultiLanguageSpellCheck();
const discoWarning = this.state.requiredPolicyInfo.hasTerms
? <img className='mx_GeneralUserSettingsTab_warningIcon'