Skip to content

Commit

Permalink
docs: Fix typo in generate-static-params.mdx (#52595)
Browse files Browse the repository at this point in the history
  • Loading branch information
Terro216 committed Jul 12, 2023
1 parent 967c501 commit f321864
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -99,9 +99,9 @@ export function generateStaticParams() {

// Three versions of this page will be statically generated
// using the `params` returned by `generateStaticParams`
// - /product/a/1
// - /product/b/2
// - /product/c/3
// - /products/a/1
// - /products/b/2
// - /products/c/3
export default function Page({
params,
}: {
Expand All @@ -123,9 +123,9 @@ export function generateStaticParams() {

// Three versions of this page will be statically generated
// using the `params` returned by `generateStaticParams`
// - /product/a/1
// - /product/b/2
// - /product/c/3
// - /products/a/1
// - /products/b/2
// - /products/c/3
export default function Page({ params }) {
const { category, product } = params
// ...
Expand Down

0 comments on commit f321864

Please sign in to comment.