allow missing slots

pull/1864/head
Rich Harris 7 years ago
parent 1d72b6b1af
commit f765da25e4

@ -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(

Loading…
Cancel
Save