From d6caf6a42ba92dff11e4b8a8ade7455ccef017eb Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Wed, 23 Oct 2024 15:10:13 -0700 Subject: [PATCH] remove duplicated logic --- reflex/app.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/reflex/app.py b/reflex/app.py index 6ea344454..961388fde 100644 --- a/reflex/app.py +++ b/reflex/app.py @@ -946,21 +946,6 @@ class App(MiddlewareMixin, LifespanMixin, Base): pages_results = [] - for route, component in self.pages.items(): - component._add_style_recursive(self.style, self.theme) - - ExecutorSafeFunctions.COMPONENTS[route] = component - - for route, page in self.unevaluated_pages.items(): - if route in self.pages: - continue - - ExecutorSafeFunctions.UNCOMPILED_PAGES[route] = page - - ExecutorSafeFunctions.STATE = self.state - - pages_results = [] - with executor: result_futures = [] pages_futures = []