Update reflex/app.py

Co-authored-by: Masen Furer <m_github@0x26.net>
This commit is contained in:
Thomas Brandého 2024-12-10 03:10:31 +01:00 committed by GitHub
parent e9c75d7e28
commit a0cef6709b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -651,7 +651,7 @@ class App(MiddlewareMixin, LifespanMixin):
"""
console.deprecate(
feature_name="App.add_custom_404_page",
reason=f"Use app.add_page(component, route=/{constants.Page404.SLUG!r}) instead.",
reason=f"Use app.add_page(component, route='/{constants.Page404.SLUG}') instead.",
deprecation_version="0.6.7",
removal_version="0.7.0",
)