Prechádzať zdrojové kódy

Fix CustomComponent rendering (#2169)

Masen Furer 1 rok pred
rodič
commit
ce47fcfd6c

+ 1 - 1
.github/workflows/integration_tests.yml

@@ -123,7 +123,7 @@ jobs:
         uses: actions/checkout@v4
         with:
           repository: reflex-dev/reflex-web
-          ref: reflex-ci
+          ref: main
           path: reflex-web
 
       - name: Install Requirements for reflex-web

+ 2 - 0
reflex/components/component.py

@@ -384,6 +384,8 @@ class Component(Base, ABC):
             ref = self.get_ref()
             if ref is not None:
                 props["ref"] = Var.create(ref, _var_is_local=False)
+        else:
+            props = props.copy()
 
         props.update(
             self.event_triggers,