We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3246a61 commit eac9b96Copy full SHA for eac9b96
src/app/(home)/blog/[slug]/page.tsx
@@ -2,13 +2,12 @@ import { lastEdit } from "@/lib/api"
2
import { blog } from "@/lib/source"
3
import { getMDXComponents } from "@/mdx-components"
4
import { PathUtils } from "fumadocs-core/source"
5
-import type { Metadata, ResolvingMetadata } from "next"
+import type { Metadata } from "next"
6
import Link from "next/link"
7
import { notFound } from "next/navigation"
8
9
export async function generateMetadata(
10
{ params }: PageProps<"/blog/[slug]">,
11
- parent: ResolvingMetadata,
12
): Promise<Metadata> {
13
const { slug } = await params
14
const page = blog.getPage([slug])
0 commit comments