Explorar o código

prevent repeat compiles on frontend only apps (#5017)

Khaleel Al-Adhami hai 1 mes
pai
achega
2bc3499ae4
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      reflex/app.py

+ 0 - 2
reflex/app.py

@@ -1108,8 +1108,6 @@ class App(MiddlewareMixin, LifespanMixin):
         if config.react_strict_mode:
             app_wrappers[(200, "StrictMode")] = StrictMode.create()
 
-        should_compile = self._should_compile()
-
         if not should_compile:
             with console.timing("Evaluate Pages (Backend)"):
                 for route in self._unevaluated_pages: