瀏覽代碼

Update comments in template apps (#2370)

Masen Furer 1 年之前
父節點
當前提交
7cec7feb63
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      reflex/.templates/apps/blank/code/blank.py
  2. 1 1
      reflex/.templates/apps/demo/code/demo.py

+ 1 - 1
reflex/.templates/apps/blank/code/blank.py

@@ -39,6 +39,6 @@ def index() -> rx.Component:
     )
 
 
-# Add state and page to the app.
+# Create app instance and add index page.
 app = rx.App()
 app.add_page(index)

+ 1 - 1
reflex/.templates/apps/demo/code/demo.py

@@ -118,5 +118,5 @@ def chatapp() -> rx.Component:
     return chatapp_page()
 
 
-# Add state and page to the app.
+# Create the app.
 app = rx.App(style=base_style)