fix: snapshots

pull/16017/head
paoloricciuti 4 months ago
parent 133a7edb99
commit a64400ddb5

@ -5,9 +5,7 @@ export default function Skip_static_subtree($$payload, $$props) {
$$payload.out += `<header><nav><a href="/">Home</a> <a href="/away">Away</a></nav></header> <main><h1>${$.escape(title)}</h1> <div class="static"><p>we don't need to traverse these nodes</p></div> <p>or</p> <p>these</p> <p>ones</p> ${$.html(content)} <p>these</p> <p>trailing</p> <p>nodes</p> <p>can</p> <p>be</p> <p>completely</p> <p>ignored</p></main> <cant-skip><custom-elements with="attributes"></custom-elements></cant-skip> <div><input autofocus/></div> <div><source muted/></div> <select><option value="a"${$.maybe_selected($$payload, 'a')}>`;
const $$body = $.valueless_option($$payload);
$$body(() => {
$.valueless_option($$payload)(() => {
$$payload.out += `a`;
});

Loading…
Cancel
Save