update templates to remove deprecation warning (#1437)
This commit is contained in:
parent
7a09554cfa
commit
43220438b6
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user