fix outputting rsx with a manual location

This commit is contained in:
Evan Almloff committed 2024-01-31 12:22:56 -06:00
1 parent b403bb51a8
commit 913ed0cfe3
1 file changed
-4
-4
View File
@@ -85,9 +85,7 @@ impl CallBody {
}; };
quote! { quote! {
dioxus_core::LazyNodes::new( move | __cx: &dioxus_core::ScopeState| -> dioxus_core::VNode {
#body #body
})
} }
} }
} }
@@ -119,10 +117,8 @@ impl ToTokens for CallBody {
}; };
out_tokens.append_all(quote! { out_tokens.append_all(quote! {
dioxus_core::LazyNodes::new( move | __cx: &dioxus_core::ScopeState| -> dioxus_core::VNode {
#body #body
}) })
})
} }
} }