-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
- Python Version: 3.9
- Pynecone Version: latest
- OS: windows 10
- Browser (Optional): edge
About page and Index page is ok, but when I try to custom-route give me this message: Invariant: attempted to hard navigate to the same URL /custom-route http://localhost:3000/custom-route
This is my main code:
def about():
return pc.text("About page")
def custom():
return pc.text("custom")
app = pc.App(state=State)
app.add_page(index)
app.add_page(about)
app.add_page(custom, path="/custom-route")
app.compile()
I don't kown why, this is just a example in docs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working