Fixed lint errors

pull/6585/head
rster20002 5 years ago
parent 81e8ff5cfb
commit faea31a19d

@ -388,7 +388,7 @@ export default class Block {
const block = dev && this.get_unique_name('block');
let init_statements = Array.from(this.variables.values()).filter(({ init }) => init !== undefined).map(({ id, init }) => {
const init_statements = Array.from(this.variables.values()).filter(({ init }) => init !== undefined).map(({ id, init }) => {
return b`${id} = ${init}`;
});

@ -192,7 +192,7 @@ export default class InlineComponentWrapper extends Wrapper {
component_opts.properties.push(p`$$inline: true`);
}
if (block.type === "slot") {
if (block.type === 'slot') {
component_opts.properties.push(p`$$in_slot: true`);
}

Loading…
Cancel
Save