From 1289182f2e116485354ad421a3a567f631fcdbaf Mon Sep 17 00:00:00 2001 From: Masen Furer Date: Thu, 21 Dec 2023 10:49:30 -0700 Subject: [PATCH] Remove `app.compile()` from templates (#2327) --- reflex/.templates/apps/blank/code/blank.py | 1 - reflex/.templates/apps/demo/code/demo.py | 1 - reflex/.templates/apps/sidebar/code/sidebar.py | 1 - 3 files changed, 3 deletions(-) diff --git a/reflex/.templates/apps/blank/code/blank.py b/reflex/.templates/apps/blank/code/blank.py index da4e43e4d..bb9e8e069 100644 --- a/reflex/.templates/apps/blank/code/blank.py +++ b/reflex/.templates/apps/blank/code/blank.py @@ -42,4 +42,3 @@ def index() -> rx.Component: # Add state and page to the app. app = rx.App() app.add_page(index) -app.compile() diff --git a/reflex/.templates/apps/demo/code/demo.py b/reflex/.templates/apps/demo/code/demo.py index fe98a31eb..a56f568b0 100644 --- a/reflex/.templates/apps/demo/code/demo.py +++ b/reflex/.templates/apps/demo/code/demo.py @@ -120,4 +120,3 @@ def chatapp() -> rx.Component: # Add state and page to the app. app = rx.App(style=base_style) -app.compile() diff --git a/reflex/.templates/apps/sidebar/code/sidebar.py b/reflex/.templates/apps/sidebar/code/sidebar.py index 8fde62ca4..985141212 100644 --- a/reflex/.templates/apps/sidebar/code/sidebar.py +++ b/reflex/.templates/apps/sidebar/code/sidebar.py @@ -9,4 +9,3 @@ import reflex as rx # Create the app and compile it. app = rx.App(style=styles.base_style) -app.compile()