浏览代码

keep that one as is

Khaleel Al-Adhami 1 周之前
父节点
当前提交
8afe417041
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)
         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
 
     @classmethod