Unverified Commit f321864c authored by ilyamed's avatar ilyamed Committed by GitHub

docs: Fix typo in generate-static-params.mdx (#52595)

parent 967c501c
...@@ -99,9 +99,9 @@ export function generateStaticParams() { ...@@ -99,9 +99,9 @@ export function generateStaticParams() {
// Three versions of this page will be statically generated // Three versions of this page will be statically generated
// using the `params` returned by `generateStaticParams` // using the `params` returned by `generateStaticParams`
// - /product/a/1 // - /products/a/1
// - /product/b/2 // - /products/b/2
// - /product/c/3 // - /products/c/3
export default function Page({ export default function Page({
params, params,
}: { }: {
...@@ -123,9 +123,9 @@ export function generateStaticParams() { ...@@ -123,9 +123,9 @@ export function generateStaticParams() {
// Three versions of this page will be statically generated // Three versions of this page will be statically generated
// using the `params` returned by `generateStaticParams` // using the `params` returned by `generateStaticParams`
// - /product/a/1 // - /products/a/1
// - /product/b/2 // - /products/b/2
// - /product/c/3 // - /products/c/3
export default function Page({ params }) { export default function Page({ params }) {
const { category, product } = params const { category, product } = params
// ... // ...
......
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