remove an extra clone

This commit is contained in:
Evan Almloff committed 2024-01-09 14:27:25 -06:00
1 parent f1b2f964c0
commit d8e79b656b
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -558,7 +558,7 @@ impl VirtualDom {
let new_nodes = self.run_scope(ScopeId::ROOT);
// Rebuilding implies we append the created elements to the root
let m = self.create_scope(to, ScopeId::ROOT, &new_nodes, None);
let m = self.create_scope(to, ScopeId::ROOT, new_nodes, None);
to.append_children(ElementId(0), m);
}