|
|
@ -152,9 +152,6 @@ export default class InlineComponentWrapper extends Wrapper {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (uses_spread) {
|
|
|
|
|
|
|
|
attribute_object = initial_props;
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
attribute_object = {
|
|
|
|
attribute_object = {
|
|
|
|
type: 'ObjectExpression',
|
|
|
|
type: 'ObjectExpression',
|
|
|
|
properties: this.node.attributes.map(attr => {
|
|
|
|
properties: this.node.attributes.map(attr => {
|
|
|
@ -166,7 +163,6 @@ export default class InlineComponentWrapper extends Wrapper {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}).concat(initial_props.properties)
|
|
|
|
}).concat(initial_props.properties)
|
|
|
|
} as Expression;
|
|
|
|
} as Expression;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
component_opts.properties.push({
|
|
|
|
component_opts.properties.push({
|
|
|
|
type: 'Property',
|
|
|
|
type: 'Property',
|
|
|
|