pull/16797/head
Rich Harris 1 day ago
parent 3a9309f8ec
commit e8cc9a4b83

@ -319,9 +319,7 @@ export function build_inline_component(node, expression, context) {
} }
if (optimiser.expressions.length > 0) { if (optimiser.expressions.length > 0) {
statement = create_async_block( statement = create_async_block(b.block([optimiser.apply(), statement]));
b.block([optimiser.apply(), statement, ...build_template([empty_comment])])
);
} }
// TODO in the async case this probably needs to go inside the async block? // TODO in the async case this probably needs to go inside the async block?

Loading…
Cancel
Save