fix comment

pull/12335/head
Rich Harris 2 years ago
parent ce14d0634f
commit 19579e10b2

@ -2189,7 +2189,7 @@ export const template_visitors = {
{ ...context, state: child_state } { ...context, state: child_state }
); );
// TODO only do this when necessary, and use a function with `if (hydrating)` so that it noops for non-hydraters // TODO only do this when necessary
child_state.init.push(b.stmt(b.call('$.reset', context.state.node))); child_state.init.push(b.stmt(b.call('$.reset', context.state.node)));
if (has_declaration) { if (has_declaration) {

Loading…
Cancel
Save