docs: fix typo in dynamic routing example (#2515)

pull/2519/head
Pavel Horal 1 year ago committed by GitHub
parent 656df5c761
commit 5013835f51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -327,7 +327,6 @@ Instead, you can pass such content to each page using the `content` property on
```js ```js
export default { export default {
paths() {
async paths() { async paths() {
const posts = await (await fetch('https://my-cms.com/blog-posts')).json() const posts = await (await fetch('https://my-cms.com/blog-posts')).json()
@ -338,7 +337,6 @@ export default {
} }
}) })
} }
}
} }
``` ```

Loading…
Cancel
Save