Skip to content

Commit

Permalink
fix paths.params.type in getStaticPaths(document) (vercel#10959)
Browse files Browse the repository at this point in the history
  • Loading branch information
watanabeyu authored and ScriptedAlchemy committed Mar 17, 2020
1 parent e600690 commit f4d3590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/basic-features/data-fetching.md
Expand Up @@ -152,8 +152,8 @@ The `paths` key determines which paths will be pre-rendered. For example, suppos
```js
return {
paths: [
{ params: { id: 1 } },
{ params: { id: 2 } }
{ params: { id: '1' } },
{ params: { id: '2' } }
],
fallback: ...
}
Expand Down

0 comments on commit f4d3590

Please sign in to comment.