fix the view macro being unhygienic and not importing ElementChild

This commit is contained in:
Jan Dorniak 2024-10-25 03:07:03 +02:00
parent 1be1f41fba
commit b0bef0ea91

View file

@ -333,6 +333,7 @@ fn view_macro_impl(tokens: TokenStream, template: bool) -> TokenStream {
{
#[allow(unused_braces)]
{
use ::leptos::prelude::ElementChild;
#(#errors;)*
#nodes_output
}