Skip to content

Commit

Permalink
fix(vue3): don't emit hook init
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Feb 11, 2022
1 parent 824f54d commit 4f3a7b3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/app-backend-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ export async function initBackend (bridge: Bridge) {

hook.on(HookEvents.APP_ADD, async app => {
await registerApp(app, ctx)

// Will init connect
hook.emit(HookEvents.INIT)
connect()
})

// Add apps that already sent init
Expand Down

0 comments on commit 4f3a7b3

Please sign in to comment.