We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a27a00f commit 55ae546Copy full SHA for 55ae546
src/reactpy/utils.py
@@ -254,7 +254,7 @@ def _component_to_vdom(component: ComponentType) -> VdomDict | str | None:
254
result = component.render()
255
if hasattr(result, "render"):
256
result = _component_to_vdom(cast(ComponentType, result))
257
- return cast(VdomDict, result)
+ return cast(VdomDict | str | None, result)
258
259
260
def del_html_head_body_transform(vdom: VdomDict) -> VdomDict:
0 commit comments