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) {
statement = create_async_block(
b.block([optimiser.apply(), statement, ...build_template([empty_comment])])
);
statement = create_async_block(b.block([optimiser.apply(), statement]));
}
// TODO in the async case this probably needs to go inside the async block?

Loading…
Cancel
Save