update templates to remove deprecation warning (#1437)

This commit is contained in:
Thomas Brandého 2023-07-27 20:02:09 +02:00 committed by GitHub
parent 7a09554cfa
commit 43220438b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -48,6 +48,6 @@ def index() -> rx.Component:
# Add state and page to the app.
app = rx.App(state=State)
app = rx.App()
app.add_page(index, title="Counter")
app.compile()

View File

@ -40,6 +40,6 @@ def index() -> rx.Component:
# Add state and page to the app.
app = rx.App(state=State)
app = rx.App()
app.add_page(index)
app.compile()