mirror of
https://github.com/docmost/docmost.git
synced 2025-11-12 19:32:37 +10:00
Set default language on invitation signup (#691)
* Default language selection to en-US if locale is undefined (Client)
This commit is contained in:
@ -47,7 +47,7 @@ function LanguageSwitcher() {
|
||||
{ value: "pt-BR", label: "Português (Brazilian)" },
|
||||
{ value: "zh-CN", label: "中文 (简体)" },
|
||||
]}
|
||||
value={language}
|
||||
value={language || 'en-US'}
|
||||
onChange={handleChange}
|
||||
allowDeselect={false}
|
||||
checkIconPosition="right"
|
||||
|
||||
Reference in New Issue
Block a user