diff --git a/src/vector/index.ts b/src/vector/index.ts index 737aeed8..5829b3f5 100644 --- a/src/vector/index.ts +++ b/src/vector/index.ts @@ -90,7 +90,6 @@ async function start() { await settled(rageshakePromise); // give rageshake a chance to load/fail - const loadOlmPromise = loadOlm(); const fragparts = parseQsFromFragment(window.location); @@ -114,6 +113,8 @@ async function start() { // set the platform for react sdk preparePlatform(); + const loadOlmPromise = loadOlm(); + await loadSkin(); let acceptBrowser = checkBrowserFeatures();