remove some unreachable code

pull/3539/head
Richard Harris 6 years ago
parent 9d9245d096
commit 13de893e89

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

Loading…
Cancel
Save