remove some unused unsafe blocks

This commit is contained in:
Evan Almloff committed 2024-01-05 11:45:01 -06:00
1 parent 35b461cd09
commit 717f38a5ec
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -549,7 +549,7 @@ impl VirtualDom {
match unsafe { self.run_scope(ScopeId::ROOT) } {
// Rebuilding implies we append the created elements to the root
RenderReturn::Ready(node) => {
let m = self.create_scope(ScopeId::ROOT, &node);
let m = self.create_scope(ScopeId::ROOT, &node, to);
to.append_children(ElementId(0), m);
}
// If an error occurs, we should try to render the default error component and context where the error occured