chore: rollback to option instead of anyhow
This commit is contained in:
1 parent
d6804884ab
commit
d3be971f4e
21 files changed
+45
-56
No files matched your search
@@ -354,8 +354,8 @@ impl<'b> VirtualDom {
|
||||
use RenderReturn::*;
|
||||
|
||||
match return_nodes {
|
||||
Sync(Ok(t)) => self.mount_component(scope, template, t, idx),
|
||||
Sync(Err(_e)) => todo!("Propogate error upwards"),
|
||||
Sync(Some(t)) => self.mount_component(scope, template, t, idx),
|
||||
Sync(None) => todo!("Propogate error upwards"),
|
||||
Async(_) => self.mount_component_placeholder(template, idx, scope),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user