Browse Source

Expand component definition before errors to fix component autocomplete from other modules (#2609)

Evan Almloff 11 tháng trước cách đây
mục cha
commit
ecdc93232e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/rsx/src/component.rs

+ 1 - 1
packages/rsx/src/component.rs

@@ -164,8 +164,8 @@ impl ToTokens for Component {
         } else {
             quote_spanned! {
                 name.span() => {
-                    #errors
                     #component_node
+                    #errors
                 }
             }
         };