Skip to content

Commit 86874fc

Browse files
committed
Fix default language is TR
1 parent fb82ce4 commit 86874fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/composables/useI18n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const localeMap: Record<Locale, typeof en> = { en, tr }
145145

146146
export const useI18n = createSharedComposable(() => {
147147
const currentLanguage = customRef<Locale>((track, trigger) => {
148-
const locale = ref<Locale>('tr')
148+
const locale = ref<Locale>(AppStorage.get('language'))
149149

150150
return {
151151
get() {

0 commit comments

Comments
 (0)