diff --git a/src/main.ts b/src/main.ts index 65bdb1b..933d0f3 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,10 +1,15 @@ /// // @ts-nocheck -import { bootstrapApp } from './app'; +import { bootstrapApp } from "./app"; (function () { - 'use strict'; - bootstrapApp().catch(e => console.error('Overlay Pro bootstrap failed', e)); + "use strict"; + window.onload = () => { + bootstrapApp().catch((e) => + console.error("Overlay Pro bootstrap failed", e), + ); + }; })(); -export {}; \ No newline at end of file +export {}; +