♻️ (code_parser.py): remove redundant condition that caused Component to not be parsed (#2406)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-07-01 13:30:46 -03:00
commit fd1c5cc84e

View file

@ -329,8 +329,6 @@ class CodeParser:
"""
Extracts "classes" from the code, including inheritance and init methods.
"""
if node.name in ["CustomComponent", "Component", "BaseComponent"]:
return
bases = self.get_base_classes()
nodes = []
for base in bases: