Merge pull request #2236 from akx/error-page-fix
fix: load i18n before showing error page
This commit is contained in:
@@ -37,7 +37,7 @@ const createIsLoadingStore = (i18n: i18nType) => {
|
||||
return isLoading;
|
||||
};
|
||||
|
||||
export const initI18n = (defaultLocale: string) => {
|
||||
export const initI18n = (defaultLocale: string | undefined) => {
|
||||
let detectionOrder = defaultLocale
|
||||
? ['querystring', 'localStorage']
|
||||
: ['querystring', 'localStorage', 'navigator'];
|
||||
|
||||
Reference in New Issue
Block a user