fix: chat event handler not being registered on sign in

This commit is contained in:
Timothy Jaeryang Baek
2025-03-03 20:31:35 -08:00
parent 80f5573cf3
commit 7e65f7fa4d
3 changed files with 18 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ const createIsLoadingStore = (i18n: i18nType) => {
return isLoading;
};
export const initI18n = (defaultLocale: string | undefined) => {
export const initI18n = (defaultLocale?: string | undefined) => {
let detectionOrder = defaultLocale
? ['querystring', 'localStorage']
: ['querystring', 'localStorage', 'navigator'];