chore: upgrade dependencies

This commit is contained in:
xfy
2025-05-19 14:41:51 +08:00
parent fe51fa33c8
commit 7e9a7b616d
28 changed files with 1611 additions and 1743 deletions

View File

@ -25,11 +25,11 @@ export async function generateStaticParams() {
const Page = async ({
params,
}: {
params: {
params: Promise<{
slug: string;
};
}>;
}) => {
const slug = params.slug;
const { slug } = await params;
if (!slug) notFound();
const post = await readSinglePost(slug);