diff --git a/packages/core/src/visit.rs b/packages/core/src/visit.rs index 4d91ff200..0950c7826 100644 --- a/packages/core/src/visit.rs +++ b/packages/core/src/visit.rs @@ -156,9 +156,9 @@ pub fn visit_fragment( 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); } }