소스 검색

forgot to migrate one type_ to annotation

Benedikt Bartscher 1 년 전
부모
커밋
78db90d695
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      reflex/components/component.py

+ 1 - 1
reflex/components/component.py

@@ -277,7 +277,7 @@ class Component(BaseComponent, ABC):
                 field_type = EventChain
             elif key in props:
                 # Set the field type.
-                field_type = fields[key].type_
+                field_type = fields[key].annotation
 
             else:
                 continue