From 4f0807ad4bbdd20ef0072dd90d081070f90a18a1 Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Tue, 27 Aug 2024 16:11:47 -0700 Subject: [PATCH] use old typing --- reflex/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reflex/app.py b/reflex/app.py index 4b2404e8b..094dead79 100644 --- a/reflex/app.py +++ b/reflex/app.py @@ -179,13 +179,13 @@ class OverlayFragment(Fragment): class UnevaluatedPage: """An uncompiled page.""" - component: Component | ComponentCallable + component: Union[Component, ComponentCallable] route: str title: str description: str image: str on_load: Union[EventHandler, EventSpec, list[EventHandler | EventSpec], None] - meta: list[dict[str, str]] + meta: List[Dict[str, str]] class App(MiddlewareMixin, LifespanMixin, Base):