Fix CustomComponent rendering (#2169)

This commit is contained in:
Masen Furer 2023-11-14 13:03:12 -08:00 committed by GitHub
parent f7f8aa171b
commit ce47fcfd6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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,