fix: respect the interface language specified by the user on the activation success screen (#5258)
This commit is contained in:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user