Skip to content

Commit

Permalink
refactor: remove unnecessary else
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jul 24, 2024
1 parent ee11f43 commit e255c31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime-core/src/apiAsyncComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ export function defineAsyncComponent<
})
: null
})
} else {
markAsyncBoundary(instance)
}

markAsyncBoundary(instance)

const loaded = ref(false)
const error = ref()
const delayed = ref(!!delay)
Expand Down

0 comments on commit e255c31

Please sign in to comment.