fix outputting rsx with a manual location
This commit is contained in:
1 parent
b403bb51a8
commit
913ed0cfe3
1 file changed
+2
-6
@@ -85,9 +85,7 @@ impl CallBody {
|
||||
};
|
||||
|
||||
quote! {
|
||||
dioxus_core::LazyNodes::new( move | __cx: &dioxus_core::ScopeState| -> dioxus_core::VNode {
|
||||
#body
|
||||
})
|
||||
#body
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -119,9 +117,7 @@ impl ToTokens for CallBody {
|
||||
};
|
||||
|
||||
out_tokens.append_all(quote! {
|
||||
dioxus_core::LazyNodes::new( move | __cx: &dioxus_core::ScopeState| -> dioxus_core::VNode {
|
||||
#body
|
||||
})
|
||||
#body
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user