Format with prettier
This commit is contained in:
parent
e35b76249c
commit
d9489346b9
@ -75,7 +75,7 @@ export async function generateMetadata({
|
||||
}
|
||||
|
||||
export const generateStaticParams = async () => {
|
||||
return allBlogs.map((p) => ({ slug: p.slug.split("/").map(name => decodeURI(name)) }));
|
||||
return allBlogs.map((p) => ({ slug: p.slug.split('/').map((name) => decodeURI(name)) }))
|
||||
}
|
||||
|
||||
export default async function Page({ params }: { params: { slug: string[] } }) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user