We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e31765 commit e4dffe9Copy full SHA for e4dffe9
packages/runtime-core/src/componentSlots.ts
@@ -63,6 +63,10 @@ const normalizeSlot = (
63
rawSlot: Function,
64
ctx: ComponentInternalInstance | null | undefined
65
): Slot => {
66
+ if ((rawSlot as any)._n) {
67
+ // already normalized - #5353
68
+ return rawSlot as Slot
69
+ }
70
const normalized = withCtx((...args: any[]) => {
71
if (__DEV__ && currentInstance) {
72
warn(
0 commit comments