Skip to content

Commit

Permalink
Remove variable in type expression error (#42)
Browse files Browse the repository at this point in the history
* Remove variable in type expression error

* Remove extraneous kwargs from `rx.App`
  • Loading branch information
masenf authored Nov 11, 2024
1 parent edac8ac commit 2e03b4a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci_template/cijob/templates/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 0 additions & 2 deletions dashboard/dashboard/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@
app = rx.App(
style=styles.base_style,
stylesheets=styles.base_stylesheets,
title="Dashboard Template",
description="A dashboard template for Reflex.",
)
2 changes: 1 addition & 1 deletion dashboard/dashboard/templates/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2e03b4a

Please sign in to comment.