Use visit_vnode in visit_fragment

This commit is contained in:
Matt Hunzinger 2024-09-12 21:13:43 -04:00
parent c9075b26c1
commit 8ce36114a1

View file

@ -156,9 +156,9 @@ pub fn visit_fragment<V: Visit + ?Sized>(
vnode: &VNode,
roots: &[VNode],
) {
let _ = vnode;
for root_vnode in roots {
for root_node in root_vnode.template.roots {
visitor.visit_node(vdom, vnode, *root_node)
}
visitor.visit_vnode(vdom, root_vnode);
}
}