Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

Commit 52b611f

Browse files
committed
use reflex enterprise
1 parent 42a69e8 commit 52b611f

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

pcweb/pages/docs/component.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def render_select(prop: PropDocumentation, component: type[Component], prop_dict
8383
):
8484
return rx.fragment()
8585
try:
86-
type_ = rx.utils.types.get_args(prop.type)[0]
86+
type_ = get_args(prop.type)[0]
8787
except Exception:
8888
return rx.fragment()
8989

@@ -264,7 +264,7 @@ def prop_docs(
264264
# Get the type of the prop.
265265
type_ = prop.type
266266
origin = get_origin(type_)
267-
if safe_issubclass(prop.type, rx.Var):
267+
if safe_issubclass(origin, rx.Var):
268268
# For vars, get the type of the var.
269269
type_ = get_args(type_)[0]
270270

uv.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)