client: Fix restoring language on mobile

This commit is contained in:
Elian Doran
2024-08-11 15:38:47 +03:00
parent 221fc66ca1
commit e87ef882d5
2 changed files with 19 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ import glob from "./services/glob.js";
glob.setupGlobs()
appContext.earlyInit();
await appContext.earlyInit();
// A dynamic import is required for layouts since they initialize components which require translations.
const MobileLayout = (await import("./layouts/mobile_layout.js")).default;