fix typo
This commit is contained in:
parent
cc1d4400bd
commit
e9c75d7e28
@ -651,7 +651,7 @@ class App(MiddlewareMixin, LifespanMixin):
|
|||||||
"""
|
"""
|
||||||
console.deprecate(
|
console.deprecate(
|
||||||
feature_name="App.add_custom_404_page",
|
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",
|
deprecation_version="0.6.7",
|
||||||
removal_version="0.7.0",
|
removal_version="0.7.0",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user