Skip to content

Commit

Permalink
chore: rename browserPrefer key
Browse files Browse the repository at this point in the history
  • Loading branch information
Teages committed Jan 2, 2024
1 parent 5afd621 commit 62c2e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/composables/internal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { computed, useCookie, useState } from "#imports"
export function useLocalesInternal() {
const _locales: Array<{ name: string, code: LocaleCode }> = available as any

const browserPrefer = useState<string[]>('i18n-lite:browserAcceptLocale', () => [])
const browserPrefer = useState<string[]>('locale-lite:browserAcceptLocale', () => [])
const browserMatch = computed<LocaleCode | null>(() => {
const available = new Map<string, string>()
for (const lang of _locales) {
Expand Down

0 comments on commit 62c2e1a

Please sign in to comment.