Fix codeblock import (#1337)

This commit is contained in:
Nikhil Rao 2023-07-12 17:09:24 -07:00 committed by GitHub
parent 5505d10989
commit bb6be16963
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,8 +44,6 @@ class CodeBlock(Component):
# Props passed down to the code tag.
code_tag_props: Var[Dict[str, str]]
is_default = True
def _get_imports(self) -> imports.ImportDict:
merged_imports = super()._get_imports()
if self.theme is not None: