no need to explicitly remove

aa
Rich Harris 9 months ago
parent 6b5d6c05b9
commit 9c00acd5da

@ -119,12 +119,10 @@ export function boundary(node, props, children) {
while (node !== null) { while (node !== null) {
/** @type {TemplateNode | null} */ /** @type {TemplateNode | null} */
var sibling = var next = node === end ? null : /** @type {TemplateNode} */ (get_next_sibling(node));
node === end ? null : /** @type {TemplateNode} */ (get_next_sibling(node));
node.remove();
offscreen_fragment.append(node); offscreen_fragment.append(node);
node = sibling; node = next;
} }
}, },
false false

Loading…
Cancel
Save