We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92a36e8 commit 50fed50Copy full SHA for 50fed50
1 file changed
apps/site/app/[locale]/blog/[...path]/page.tsx
@@ -17,9 +17,8 @@ export const generateViewport = basePage.generateViewport;
17
// @see https://nextjs.org/docs/app/api-reference/functions/generate-metadata
18
export const generateMetadata = ({
19
params,
20
-}: {
21
- params: Promise<{ path: Array<string>; locale: string }>;
22
-}) => basePage.generateMetadata({ params, prefix: 'blog' });
+}: PageProps<'/[locale]/blog/[...path]'>) =>
+ basePage.generateMetadata({ params, prefix: 'blog' });
23
24
// Generates all possible static paths based on the locales and environment configuration
25
// - Returns an empty array if static export is disabled (`ENABLE_STATIC_EXPORT` is false)
0 commit comments