diff --git a/reflex/components/component.py b/reflex/components/component.py index d7247e07a..1de884e8a 100644 --- a/reflex/components/component.py +++ b/reflex/components/component.py @@ -711,8 +711,8 @@ class Component(BaseComponent, ABC): def _get_components_in_props(self) -> Sequence[BaseComponent]: """Get the components in the props. - Yields: - The components in the props. + Returns: + The components in the props """ if self._are_fields_known(): return [