wip: a few things left, slme cleanup
This commit is contained in:
1 parent
f33510b13f
commit
289d2f2518
5 files changed
+30
-66
No files matched your search
@@ -177,7 +177,7 @@ impl<'src> VNode<'src> {
|
||||
|
||||
pub fn children(&self) -> &[VNode<'src>] {
|
||||
match &self {
|
||||
VNode::Fragment(f) => &f.children,
|
||||
VNode::Fragment(f) => f.children,
|
||||
VNode::Component(c) => todo!("children are not accessible through this"),
|
||||
_ => &[],
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user