Skip to content

Commit 3a2fa82

Browse files
authored
fix(#78): error starting the app - en-in (#78)
1 parent 3064233 commit 3a2fa82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/clara-n/src/routes/i18n-utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,5 +95,6 @@ if (import.meta.env.SSR) {
9595
export function transfromOS(osLocale: string) {
9696
if (osLocale === 'de') return 'de-DE';
9797

98-
return osLocale;
98+
// fallback
99+
return 'en';
99100
}

0 commit comments

Comments
 (0)