fix: respect the interface language specified by the user on the activation success screen (#5258)
This commit is contained in:
parent
4b54843ed7
commit
37c87164dc
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ const ActivateForm = () => {
|
||||||
timezone,
|
timezone,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
setLocaleOnClient(language.startsWith('en') ? 'en-US' : 'zh-Hans', false)
|
setLocaleOnClient(language, false)
|
||||||
setShowSuccess(true)
|
setShowSuccess(true)
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue