Skip to content

Commit

Permalink
give the types some attention instead of ignoring them
Browse files Browse the repository at this point in the history
  • Loading branch information
adhami3310 committed Sep 25, 2024
1 parent b1e8b96 commit 0ac54d6
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 @@ -173,8 +173,8 @@ def add_imports(self) -> ImportDict | list[ImportDict]:
component(_MOCK_ARG)._get_all_imports() # type: ignore
for component in self.component_map.values()
],
CodeBlock.create(theme=Theme.light)._get_imports(), # type: ignore,
Code.create()._get_imports(), # type: ignore,
CodeBlock.create(theme=Theme.light)._get_imports(),
Code.create()._get_imports(),
]

def get_component(self, tag: str, **props) -> Component:
Expand Down

0 comments on commit 0ac54d6

Please sign in to comment.