Fix remaining issues to get desktop running

This commit is contained in:
Jonathan Kelley committed 2024-01-11 17:30:50 -08:00
1 parent 8beec2f41f
commit 3f15612c8e
3 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -163,8 +163,8 @@ impl Component {
let name = &self.name;
let mut toks = match &self.prop_gen_args {
Some(gen_args) => quote! { fc_to_builder(__cx, #name #gen_args) },
None => quote! { fc_to_builder(__cx, #name) },
Some(gen_args) => quote! { fc_to_builder(#name #gen_args) },
None => quote! { fc_to_builder(#name) },
};
for field in &self.fields {
match field.name.to_string().as_str() {
+1 -1
View File
@@ -213,7 +213,7 @@ impl ToTokens for BodyNode {
tokens.append_all(quote! {
{
let ___nodes = (#body).into_dyn_node(__cx);
let ___nodes = (#body).into_dyn_node();
___nodes
}
});