未验证 提交 0c4022e4 编写于 作者: S Sam Dornan 提交者: GitHub

Fix invalid href error message (#17183)

上级 5f16e063
......@@ -7,8 +7,7 @@ When using any of these, it is expected they are only used for internal navigati
Either you passed a non-internal `href` to a `next/link` component or you called `Router#push` or `Router#replace` with one.
Invalid `href`s include external sites (https://google.com) and `mailto:` links. In the past, usage of these invalid `href`s could have gone unnoticed but since they can cause unexpected behavior.
We now show a warning in development for them.
Invalid `href`s include external sites (https://google.com) and `mailto:` links. In the past, usage of these invalid `href`s could have gone unnoticed, but since they can cause unexpected behavior we now show a warning in development for them.
#### Possible Ways to Fix It
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册