Skip to content

Commit

Permalink
🔨 Type i18n composable
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount committed Jun 20, 2024
1 parent 30dd5f5 commit d849b05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const messages = {
de, // German
en, // English
};
const loc = localStorage?.getItem('locale') ?? (navigator.language || navigator.userLanguage);
const loc = localStorage?.getItem('locale') ?? navigator.language;
const instance = createI18n({
legacy: false,
globalInjection: true,
Expand Down
1 change: 1 addition & 0 deletions frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false,
"resolveJsonModule": true,
"esModuleInterop": true,
"allowJs": true,
"paths": {
Expand Down

0 comments on commit d849b05

Please sign in to comment.