mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 06:34:20 +00:00
Use visit_vnode in visit_fragment
This commit is contained in:
parent
c9075b26c1
commit
8ce36114a1
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue