From 4af7f6c7f573816a0ebe5a5a43a50ba99612e93e Mon Sep 17 00:00:00 2001 From: Ashik Paul Date: Sun, 12 Jul 2020 23:58:24 +0530 Subject: [PATCH] Fixed a minor typo (#15077) --- errors/url-deprecated.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/errors/url-deprecated.md b/errors/url-deprecated.md index d583128789..50db5b6b5a 100644 --- a/errors/url-deprecated.md +++ b/errors/url-deprecated.md @@ -12,7 +12,7 @@ The reason this is going away is that we want to make things very predictable an https://github.com/zeit/next-codemod#url-to-withrouter -Since Next 5 we provide a way to explicitly inject the Next.js router object into pages and all their decending components. +Since Next 5 we provide a way to explicitly inject the Next.js router object into pages and all their descending components. The `router` property that is injected will hold the same values as `url`, like `pathname`, `asPath`, and `query`. Here's an example of using `withRouter`: -- GitLab