Ver Fonte

keep that one as is

Khaleel Al-Adhami há 1 semana atrás
pai
commit
8afe417041
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      reflex/components/component.py

+ 1 - 1
reflex/components/component.py

@@ -1138,7 +1138,7 @@ class Component(BaseComponent, ABC):
         """
         """
         comp = cls.__new__(cls)
         comp = cls.__new__(cls)
         super(Component, comp).__init__(id=props.get("id"), children=list(children))
         super(Component, comp).__init__(id=props.get("id"), children=list(children))
-        comp._post_init(children=children, **props)
+        comp._post_init(children=list(children), **props)
         return comp
         return comp
 
 
     @classmethod
     @classmethod