Fix top-level await

This commit is contained in:
Oliver-Akins 2024-03-27 21:28:45 -06:00
parent 33ab4afe52
commit 08cf6e91ac

View file

@ -15,7 +15,7 @@ for (const locale in locales) {
() => fetch(`/locales/${locale}.json`).then(r => r.json()) () => fetch(`/locales/${locale}.json`).then(r => r.json())
); );
}; };
await init({ init({
fallbackLocale: `en-CA`, fallbackLocale: `en-CA`,
initialLocale: getLocaleFromNavigator(), initialLocale: getLocaleFromNavigator(),
}); });