Skip to content

Commit

Permalink
remove startup delay
Browse files Browse the repository at this point in the history
  • Loading branch information
uidp committed Aug 8, 2024
1 parent ee657e5 commit d36c8a7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ import {
USER_LOGIN_MIGRATION_MODULE_KEY,
VIDEO_CONFERENCE_MODULE_KEY,
} from "./utils/inject";
import { delay } from "./utils/helpers";

export const app = createApp(App);

Expand Down Expand Up @@ -191,9 +190,5 @@ app.use(VueDOMPurifyHTML, {
);
app.provide(THEME_KEY.valueOf(), themeConfig);

// FIXME wait for a small period of time to make sure vue-router is initialized
// otherwise it is trying to match the '/' route and not the provided web history route
await delay(500);

app.mount("#app");
})();

0 comments on commit d36c8a7

Please sign in to comment.