Fix top-level await
This commit is contained in:
parent
33ab4afe52
commit
08cf6e91ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue