Skip to content

Commit

Permalink
chore: minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
edison1105 committed Jan 24, 2025
1 parent 1d49d53 commit 6c17a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-core/src/transforms/vSlot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ function hasForwardedSlots(children: TemplateChildNode[]): boolean {
if (hasForwardedSlots(child.branches)) return true
break
case NodeTypes.SKIP:
const consequent = child.consequent
const { consequent } = child
if (
(consequent.type === NodeTypes.IF_BRANCH &&
hasForwardedSlots(consequent.children)) ||
Expand Down

0 comments on commit 6c17a37

Please sign in to comment.