Clean up some bits
This commit is contained in:
2 files changed
+1
-3
No files matched your search
@@ -250,9 +250,7 @@ fn create_random_element(cx: DepthProps) -> Element {
|
|||||||
)
|
)
|
||||||
.into_boxed_str(),
|
.into_boxed_str(),
|
||||||
));
|
));
|
||||||
println!("{template:#?}");
|
|
||||||
let node = cx.vnode(
|
let node = cx.vnode(
|
||||||
None.into(),
|
|
||||||
None,
|
None,
|
||||||
template,
|
template,
|
||||||
dynamic_node_types
|
dynamic_node_types
|
||||||
|
|||||||
@@ -146,7 +146,7 @@ impl ToTokens for ElementAttrNamed {
|
|||||||
ElementAttrName::Custom(_) => todo!(),
|
ElementAttrName::Custom(_) => todo!(),
|
||||||
},
|
},
|
||||||
_ => {
|
_ => {
|
||||||
quote! { dioxus_elements::events::#value(__cx, #value) }
|
quote! { dioxus_elements::events::#value(#value) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user