Fix remaining issues to get desktop running
This commit is contained in:
3 files changed
+5
-5
No files matched your search
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user