Skip to content

Commit 00d5f07

Browse files
committed
no default imports
1 parent 3ba74dd commit 00d5f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reflex/compiler/templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def document_root_template(*, imports: list[_ImportDict], document: dict[str, An
242242
imports_rendered = "\n".join([_RenderUtils.get_import(mod) for mod in imports])
243243
return f"""{imports_rendered}
244244
245-
export default function Layout() {{
245+
export function Layout() {{
246246
return (
247247
{_RenderUtils.render(document)}
248248
)

0 commit comments

Comments
 (0)