From 08cf6e91ac8613677bfa85088c6b999a5447f142 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Wed, 27 Mar 2024 21:28:45 -0600 Subject: [PATCH] Fix top-level await --- frontend/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/main.ts b/frontend/src/main.ts index 95bfca6..b6581b8 100644 --- a/frontend/src/main.ts +++ b/frontend/src/main.ts @@ -15,7 +15,7 @@ for (const locale in locales) { () => fetch(`/locales/${locale}.json`).then(r => r.json()) ); }; -await init({ +init({ fallbackLocale: `en-CA`, initialLocale: getLocaleFromNavigator(), });