|
@@ -79,7 +79,7 @@ impl ToTokens for CallBody {
|
|
|
match &self.custom_context {
|
|
|
// The `in cx` pattern allows directly rendering
|
|
|
Some(ident) => out_tokens.append_all(quote! {
|
|
|
- #ident.render(LazyNodes::new_some(move |__cx: NodeFactory| -> VNode {
|
|
|
+ #ident.render(LazyNodes::new(move |__cx: NodeFactory| -> VNode {
|
|
|
use dioxus_elements::{GlobalAttributes, SvgAttributes};
|
|
|
#inner
|
|
|
}))
|
|
@@ -87,7 +87,7 @@ impl ToTokens for CallBody {
|
|
|
|
|
|
// Otherwise we just build the LazyNode wrapper
|
|
|
None => out_tokens.append_all(quote! {
|
|
|
- LazyNodes::new_some(move |__cx: NodeFactory| -> VNode {
|
|
|
+ LazyNodes::new(move |__cx: NodeFactory| -> VNode {
|
|
|
use dioxus_elements::{GlobalAttributes, SvgAttributes};
|
|
|
#inner
|
|
|
})
|