diff --git a/docs/basic-features/data-fetching.md b/docs/basic-features/data-fetching.md index 6185e2b2c80caf0..36efd64056ff534 100644 --- a/docs/basic-features/data-fetching.md +++ b/docs/basic-features/data-fetching.md @@ -192,7 +192,7 @@ export async function getStaticPaths() { // Get the paths we want to pre-render based on posts const paths = posts.map(post => ({ - params: {id: post.id} + params: { id: post.id }, })) // We'll pre-render only these paths at build time.