未验证 提交 4af7f6c7 编写于 作者: A Ashik Paul 提交者: GitHub

Fixed a minor typo (#15077)

上级 03d4d14c
......@@ -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`:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册