make code more readable

Co-authored-by: Thomas Brandého <thomas.brandeho@gmail.com>
This commit is contained in:
Khaleel Al-Adhami 2024-10-03 15:30:55 -07:00 committed by GitHub
parent 89358f27a0
commit 88a1571148
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,7 +132,7 @@ def load_dynamic_serializer():
module_code_lines.insert(0, "const React = window.__reflex.react;")
return (
"//__reflex_evaluate\n/** @jsx jsx */\nconst { jsx } = window.__reflex['@emotion/react']\n"
"\n".join(["//__reflex_evaluate", "/** @jsx jsx */", "const { jsx } = window.__reflex['@emotion/react']", *module_code_lines])
+ "\n".join(module_code_lines)
)