Skip to content

Commit

Permalink
pyright fix for real
Browse files Browse the repository at this point in the history
  • Loading branch information
ElijahAhianyo committed Oct 16, 2024
1 parent 24ffde5 commit 097e2d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reflex/components/markdown/markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,9 @@ def get_component(self, tag: str, **props) -> Component:
_CHILDREN
if tag != "codeblock"
else ternary_operation(
ARRAY_ISARRAY.call(_CHILDREN),
ARRAY_ISARRAY.call(_CHILDREN), # type: ignore
_CHILDREN.to(list)[0],
_CHILDREN, # type: ignore
_CHILDREN,
).to(str)
]

Expand Down

0 comments on commit 097e2d3

Please sign in to comment.