From 43357fe842dbb03ba17eda65fbe308c67573d18b Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 8 Apr 2020 16:10:44 +0100 Subject: [PATCH] reorder Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/vector/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();