Skip to content

Commit 676bcfc

Browse files
committed
fix document children
1 parent 18e65c9 commit 676bcfc

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
@@ -174,7 +174,7 @@ def document_root_template(*, imports: list[_ImportDict], document: dict[str, An
174174
imports_rendered = "\n".join([_RenderUtils.get_import(mod) for mod in imports])
175175
return f"""{imports_rendered}
176176
177-
export function Layout() {{
177+
export function Layout({{children}}) {{
178178
return (
179179
{_RenderUtils.render(document)}
180180
)

0 commit comments

Comments
 (0)