diff --git a/ci_template/cijob/templates/template.py b/ci_template/cijob/templates/template.py index 81ddb21..a7bdb96 100644 --- a/ci_template/cijob/templates/template.py +++ b/ci_template/cijob/templates/template.py @@ -51,7 +51,7 @@ def template( description: str | None = None, meta: str | None = None, script_tags: list[rx.Component] | None = None, - on_load: rx.event.EventHandler | list[rx.event.EventHandler] | None = None, + on_load: rx.EventHandler | list[rx.EventHandler] | None = None, ) -> Callable[[Callable[[], rx.Component]], rx.Component]: """The template for each page of the app. diff --git a/dashboard/dashboard/dashboard.py b/dashboard/dashboard/dashboard.py index 85503f1..fbba710 100644 --- a/dashboard/dashboard/dashboard.py +++ b/dashboard/dashboard/dashboard.py @@ -11,6 +11,4 @@ app = rx.App( style=styles.base_style, stylesheets=styles.base_stylesheets, - title="Dashboard Template", - description="A dashboard template for Reflex.", ) diff --git a/dashboard/dashboard/templates/template.py b/dashboard/dashboard/templates/template.py index 55ac07a..facda8d 100644 --- a/dashboard/dashboard/templates/template.py +++ b/dashboard/dashboard/templates/template.py @@ -51,7 +51,7 @@ def template( description: str | None = None, meta: str | None = None, script_tags: list[rx.Component] | None = None, - on_load: rx.event.EventHandler | list[rx.event.EventHandler] | None = None, + on_load: rx.EventHandler | list[rx.EventHandler] | None = None, ) -> Callable[[Callable[[], rx.Component]], rx.Component]: """The template for each page of the app.