diff --git a/src/internal/Component.js b/src/internal/Component.js index 45ee7a46a8..eec3cd15cd 100644 --- a/src/internal/Component.js +++ b/src/internal/Component.js @@ -12,7 +12,7 @@ export class $$Component { this.$$bindings = blankObject(); this.$$callbacks = blankObject(); - this.$$slotted = options.slots; + this.$$slotted = options.slots || {}; set_current_component(this); const [get_state, inject_props, inject_refs] = this.$$init(