Unverified Commit 735fac7e authored by shibe23's avatar shibe23 Committed by GitHub

[typo] posts.map( posts => {} ) in examples/blog-starter-typescript (#27523)

In `examples/blog-starter-typescript/pages/posts/[slug].tsx`

before:
 `posts.map(posts => {})`

after:
`posts.map(post => {})`

## Documentation / Examples

- [x] Make sure the linting passes
parent 97a140f7
......@@ -87,10 +87,10 @@ export async function getStaticPaths() {
const posts = getAllPosts(['slug'])
return {
paths: posts.map((posts) => {
paths: posts.map((post) => {
return {
params: {
slug: posts.slug,
slug: post.slug,
},
}
}),
......
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