mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fix readme (#5513)
* Fix readme * Fix spelling mistake Co-Authored-By: dipiash <dmitriytemn@gmail.com>
This commit is contained in:
parent
1770efad63
commit
e382be655c
|
@ -535,7 +535,7 @@ Router.beforePopState(({ url, as, options }) => {
|
|||
});
|
||||
```
|
||||
|
||||
If you return a falsy value from `beforePopState`, `Router` will not handle `popstate`;
|
||||
If you return a `false` value from `beforePopState`, `Router` will not handle `popstate`;
|
||||
you'll be responsible for handling it, in that case.
|
||||
See [Disabling File-System Routing](#disabling-file-system-routing).
|
||||
|
||||
|
|
Loading…
Reference in a new issue