Unverified Commit 156a7740 authored by Armand Abric's avatar Armand Abric Committed by GitHub

Fix typo in invalid getStaticPaths value example (#10657)

parent 7767a42f
...@@ -9,7 +9,7 @@ In one of the page's `unstable_getStaticPaths` the return value had the incorrec ...@@ -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`: Make sure to return the following shape from `unstable_getStaticPaths`:
```js ```js
export async function unstable_getStaticProps() { export async function unstable_getStaticPaths() {
return { return {
paths: Array<string | { params: { [key: string]: string } }> paths: Array<string | { params: { [key: string]: string } }>
} }
......
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