Skip to content

Commit

Permalink
Fix typo in invalid getStaticPaths value example (#10657)
Browse files Browse the repository at this point in the history
  • Loading branch information
armandabric committed Feb 24, 2020
1 parent 7767a42 commit 156a774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errors/invalid-getstaticpaths-value.md
Expand Up @@ -9,7 +9,7 @@ In one of the page's `unstable_getStaticPaths` the return value had the incorrec
Make sure to return the following shape from `unstable_getStaticPaths`:

```js
export async function unstable_getStaticProps() {
export async function unstable_getStaticPaths() {
return {
paths: Array<string | { params: { [key: string]: string } }>
}
Expand Down

0 comments on commit 156a774

Please sign in to comment.