prepare platform earlier

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2020-04-08 16:09:47 +01:00
parent 0b032d7434
commit 6222546e20
2 changed files with 6 additions and 3 deletions

View file

@ -144,8 +144,6 @@ export async function loadApp(fragParams: {}, acceptBrowser: boolean) {
window.addEventListener('hashchange', onHashChange);
// set the platform for react sdk
preparePlatform();
const platform = PlatformPeg.get();
// Load the config from the platform