File tree Expand file tree Collapse file tree 3 files changed +2
-9
lines changed
Expand file tree Collapse file tree 3 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ export function ensureValidVNode(
130130 : null
131131}
132132
133- export function ensureVaporSlotFallback (
133+ function ensureVaporSlotFallback (
134134 vnodes : VNodeArrayChildren | null | undefined ,
135135 fallback ?: ( ) => VNodeArrayChildren ,
136136) : void {
Original file line number Diff line number Diff line change @@ -608,10 +608,6 @@ export { setRef } from './rendererTemplateRef'
608608 * @internal
609609 */
610610export { type VNodeNormalizedRef , normalizeRef } from './vnode'
611- /**
612- * @internal
613- */
614- export { ensureVaporSlotFallback } from './helpers/renderSlot'
615611/**
616612 * @internal
617613 */
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ import {
2121 currentInstance ,
2222 ensureHydrationRenderer ,
2323 ensureRenderer ,
24- ensureVaporSlotFallback ,
2524 isEmitListener ,
2625 isKeepAlive ,
2726 isRef ,
@@ -464,12 +463,10 @@ function renderVDOMSlot(
464463 slotsRef . value ,
465464 isFunction ( name ) ? name ( ) : name ,
466465 props ,
466+ fallback as any ,
467467 )
468468
469469 let children = vnode . children as any [ ]
470- // handle forwarded vapor slot without its own fallback
471- // use the fallback provided by the slot outlet
472- ensureVaporSlotFallback ( children , fallback as any )
473470 isValidSlot = children . length > 0
474471 }
475472
You can’t perform that action at this time.
0 commit comments