Skip to content

Commit eac9b96

Browse files
committed
refactor(blog): remove unused parameter from metadata generation function
1 parent 3246a61 commit eac9b96

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/app/(home)/blog/[slug]/page.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ import { lastEdit } from "@/lib/api"
22
import { blog } from "@/lib/source"
33
import { getMDXComponents } from "@/mdx-components"
44
import { PathUtils } from "fumadocs-core/source"
5-
import type { Metadata, ResolvingMetadata } from "next"
5+
import type { Metadata } from "next"
66
import Link from "next/link"
77
import { notFound } from "next/navigation"
88

99
export async function generateMetadata(
1010
{ params }: PageProps<"/blog/[slug]">,
11-
parent: ResolvingMetadata,
1211
): Promise<Metadata> {
1312
const { slug } = await params
1413
const page = blog.getPage([slug])

0 commit comments

Comments
 (0)