소스 검색

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

Jonathan Kelley 2 년 전
부모
커밋
e63226e15b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/core-macro/src/inlineprops.rs

+ 1 - 1
packages/core-macro/src/inlineprops.rs

@@ -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
             }
         });