Skip to content

Commit 369d964

Browse files
authored
template patch.
`template` patch.
1 parent 444b75e commit 369d964

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flet_navigator/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,6 @@ def define_page(path: str, name: str=None) -> PageDefinition:
395395

396396
return page
397397

398-
def template(template_definition: TemplateDefinition, page_data: PageData) -> None:
398+
def template(template_definition: TemplateDefinition, page_data: PageData, arguments: Arguments) -> None:
399399
"""Render template."""
400-
template_definition(page_data)
400+
template_definition(page_data, arguments)

0 commit comments

Comments
 (0)