Unverified Commit fe77761e authored by Yuki Takemoto's avatar Yuki Takemoto Committed by GitHub

docs: fix broken link (#72169)

This PR fixes a broken link.
In my language (Japanese), MDN redirects were not functioning correctly,
so I replaced them with appropriate links.

https://developer.mozilla.org/docs/Web/Events/popstate redirects
https://developer.mozilla.org/ja/docs/Web/Events/popstate (404)
Co-authored-by: 's avatarDelba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
parent 51ee1c7f
......@@ -276,7 +276,7 @@ export default function Login() {
### router.beforePopState
In some cases (for example, if using a [Custom Server](/docs/pages/building-your-application/configuring/custom-server)), you may wish to listen to [popstate](https://developer.mozilla.org/docs/Web/Events/popstate) and do something before the router acts on it.
In some cases (for example, if using a [Custom Server](/docs/pages/building-your-application/configuring/custom-server)), you may wish to listen to [popstate](https://developer.mozilla.org/docs/Web/API/Window/popstate_event) and do something before the router acts on it.
```js
router.beforePopState(cb)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment