fix removing aborted nodes

This commit is contained in:
Evan Almloff committed 2023-01-12 15:13:47 -06:00
1 parent 733ff40bd0
commit 1899a10aec
1 file changed
+1 -3
+1 -3
View File
@@ -923,9 +923,7 @@ impl<'b> VirtualDom {
match unsafe { self.scopes[scope.0].root_node().extend_lifetime_ref() } {
RenderReturn::Ready(t) => self.remove_node(t, gen_muts),
RenderReturn::Aborted(_) => {
return;
}
RenderReturn::Aborted(placeholder) => self.remove_placeholder(placeholder, gen_muts),
_ => todo!(),
};