fix: generate brace in rosetta

This commit is contained in:
Jonathan Kelley committed 2023-01-10 18:14:16 -08:00
1 parent ab039fd11b
commit 2a9eb90154
1 file changed
+2
+2
View File
@@ -73,6 +73,7 @@ pub fn rsx_node_from_html(node: &Node) -> Option<BodyNode> {
attributes, attributes,
_is_static: false, _is_static: false,
key: None, key: None,
brace: Default::default(),
})) }))
} }
@@ -107,6 +108,7 @@ pub fn collect_svgs(children: &mut [BodyNode], out: &mut Vec<BodyNode>) {
fields: vec![], fields: vec![],
children: vec![], children: vec![],
manual_props: None, manual_props: None,
brace: Default::default(),
}); });
std::mem::swap(child, &mut new_comp); std::mem::swap(child, &mut new_comp);