We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb55ee5 commit 446986bCopy full SHA for 446986b
packages/runtime-vapor/src/componentSlots.ts
@@ -88,7 +88,7 @@ export function initSlots(
88
// delete stale slots
89
for (const key in slotRecord) {
90
if (
91
- slotRecord &&
+ slotRecord[key] &&
92
!(dynamicSlot && isArray(dynamicSlot)
93
? dynamicSlot.some(s => s.name === key)
94
: dynamicSlot.name === key)
0 commit comments