fix: chat event handler not being registered on sign in

This commit is contained in:
Timothy Jaeryang Baek committed 2025-03-03 20:31:35 -08:00
1 parent 80f5573cf3
commit 7e65f7fa4d
3 files changed
+18 -6

No files matched your search

+1 -1
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'];