mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-16 13:01:32 +03:00
Fix indentation
This commit is contained in:
parent
38080c5b2b
commit
5d9f5ba979
1 changed files with 3 additions and 3 deletions
|
@ -100,10 +100,10 @@ export default class LanguageDropdown extends React.Component {
|
||||||
let language = SettingsStore.getValue("language", null, /*excludeDefault:*/true);
|
let language = SettingsStore.getValue("language", null, /*excludeDefault:*/true);
|
||||||
let value = null;
|
let value = null;
|
||||||
if (language) {
|
if (language) {
|
||||||
value = this.props.value || language;
|
value = this.props.value || language;
|
||||||
} else {
|
} else {
|
||||||
language = navigator.language || navigator.userLanguage;
|
language = navigator.language || navigator.userLanguage;
|
||||||
value = this.props.value || language;
|
value = this.props.value || language;
|
||||||
}
|
}
|
||||||
|
|
||||||
return <Dropdown
|
return <Dropdown
|
||||||
|
|
Loading…
Reference in a new issue