We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c20648 commit 41c910cCopy full SHA for 41c910c
src/runtime/utils.ts
@@ -122,7 +122,7 @@ export async function loadInitialMessages<Context extends NuxtApp = NuxtApp>(
122
await Promise.all(fallbackLocales.map(locale => loadLocale(context, locale, setter)))
123
}
124
// load initial messages
125
- const locales = lazy ? [...new Set<Locale>().add(defaultLocale).add(initialLocale)] : localeCodes
+ const locales = lazy ? localeCodes : [...new Set<Locale>().add(defaultLocale).add(initialLocale)]
126
await Promise.all(locales.map(locale => loadLocale(context, locale, setter)))
127
128
0 commit comments