fix: attempt to fix ice

This commit is contained in:
Jonathan Kelley committed 2022-01-03 17:20:22 -05:00
1 parent 616227bd3d
commit 2481cd05c2
2 files changed
+13 -32

No files matched your search

+3 -3
View File
@@ -204,9 +204,9 @@ impl ToTokens for Element {
tokens.append_all(quote! {
__cx.element(
dioxus_elements::#name,
[ #(#listeners),* ],
[ #(#attr),* ],
[ #(#children),* ],
__cx.bump().alloc([ #(#listeners),* ]),
__cx.bump().alloc([ #(#attr),* ]),
__cx.bump().alloc([ #(#children),* ]),
#key,
)
});