Merge branch 'master' of github.com:DioxusLabs/dioxus

This commit is contained in:
Jonathan Kelley committed 2023-01-17 16:24:36 -08:00
commit e63226e15b
1 file changed
+1 -1
+1 -1
View File
@@ -158,7 +158,7 @@ impl ToTokens for InlinePropsBody {
#maybe_async #vis fn #ident #fn_generics (#cx_token: Scope<#scope_lifetime #struct_name #generics>) #output
#where_clause
{
let #struct_name { #(#field_names),* } = &cx.props;
let #struct_name { #(#field_names),* } = &#cx_token.props;
#block
}
});