mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-12 23:57:09 +00:00
fix the view macro being unhygienic and not importing ElementChild
This commit is contained in:
parent
1be1f41fba
commit
b0bef0ea91
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ fn view_macro_impl(tokens: TokenStream, template: bool) -> TokenStream {
|
|||
{
|
||||
#[allow(unused_braces)]
|
||||
{
|
||||
use ::leptos::prelude::ElementChild;
|
||||
#(#errors;)*
|
||||
#nodes_output
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue