diff --git a/reflex/utils/pyi_generator.py b/reflex/utils/pyi_generator.py index 114512f5c..2d3d2664e 100644 --- a/reflex/utils/pyi_generator.py +++ b/reflex/utils/pyi_generator.py @@ -292,8 +292,6 @@ def _generate_docstrings(clzs: list[Type[Component]], props: list[str]) -> str: ]: new_docstring.append(nline) new_docstring.append(line) - if new_docstring and new_docstring[-1] != "": - new_docstring.append("") return "\n".join(new_docstring)