Move async function to async context (attaching debugger)

Signed-off-by: Alex Culliere <alozhkin@mirantis.com>
This commit is contained in:
Alex Culliere committed 2021-03-08 17:46:11 +02:00
1 parent 829275f927
commit 505a9a0d19
1 file changed
+1 -1
+1 -1
View File
@@ -47,6 +47,7 @@ export {
export async function bootstrap(App: AppComponent) {
const rootElem = document.getElementById("app");
await attachChromeDebugger();
rootElem.classList.toggle("is-mac", isMac);
extensionLoader.init();
@@ -87,4 +88,3 @@ export async function bootstrap(App: AppComponent) {
// run
bootstrap(process.isMainFrame ? LensApp : App);
await attachChromeDebugger();