Skip to content

Commit

Permalink
Update docs/01-app/02-building-your-application/02-data-fetching/04-i…
Browse files Browse the repository at this point in the history
…ncremental-static-regeneration.mdx

Co-authored-by: Maikel <maikel.van.dort@gmail.com>
  • Loading branch information
hyungjikim and Netail authored Nov 22, 2024
1 parent e71caa0 commit fbad00a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export async function generateStaticParams() {
}

export default async function Page({ params }) {
const id = (await params).id
const { id } = await params
const post = await fetch(`https://api.vercel.app/blog/${id}`).then(
(res) => res.json()
)
Expand Down

0 comments on commit fbad00a

Please sign in to comment.