Преглед на файлове

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