diff --git a/reflex/components/datadisplay/code.py b/reflex/components/datadisplay/code.py index a8658127f..d0d481d68 100644 --- a/reflex/components/datadisplay/code.py +++ b/reflex/components/datadisplay/code.py @@ -532,7 +532,11 @@ class CodeBlock(Component, MarkdownComponentMap): @classmethod def _get_language_registration_hook(cls) -> str: - """Get the hook to register the language.""" + """Get the hook to register the language. + + Returns: + The hook to register the language. + """ return f""" if ({str(_LANGUAGE)}) {{ (async () => {{