mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
chore: upgrade dependencies
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user