From e9c75d7e28779bbe6e234040244d903d9624f4fc Mon Sep 17 00:00:00 2001 From: Lendemor Date: Tue, 10 Dec 2024 00:57:29 +0100 Subject: [PATCH] fix typo --- reflex/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/app.py b/reflex/app.py index 549b61ff7..4dce0cf2e 100644 --- a/reflex/app.py +++ b/reflex/app.py @@ -651,7 +651,7 @@ class App(MiddlewareMixin, LifespanMixin): """ console.deprecate( feature_name="App.add_custom_404_page", - reason='Use App.add_page(component, route="/404") instead.', + reason=f"Use app.add_page(component, route=/{constants.Page404.SLUG!r}) instead.", deprecation_version="0.6.7", removal_version="0.7.0", )