fix render macro

This commit is contained in:
Evan Almloff authored and Jonathan Kelley committed 2024-01-08 19:04:56 -08:00
1 parent a0ce5493ea
commit 0a35b5a670
3 files changed
+53 -4

No files matched your search

+3 -1
View File
@@ -139,7 +139,9 @@ impl ToTokens for RenderCallBody {
out_tokens.append_all(quote! {
Some({
let __cx = cx;
#body
let __element = { #body };
cx.link_node(&__element);
__element
})
})
}