Skip to content

Commit

Permalink
fix(VSnackbar): return correct children
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Apr 30, 2024
1 parent 2e3f727 commit 5056034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/composables/directiveComponent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function mountComponent (component: ConcreteComponent, props?: Record<string, an
? findComponentParent(vnode, binding.instance!.$)?.provides
: vnode.ctx?.provides) ?? binding.instance!.$.provides

const node = h(component, mergeProps(_props, value), { default: () => children })
const node = h(component, mergeProps(_props, value), children)
node.appContext = Object.assign(
Object.create(null),
(binding.instance as ComponentPublicInstance).$.appContext,
Expand Down

0 comments on commit 5056034

Please sign in to comment.