style: format file with prettier

This commit is contained in:
satnaing
2023-03-24 23:48:15 +06:30
parent 619a54927f
commit 08151881cc
+6 -7
View File
@@ -11,12 +11,11 @@ export async function get() {
title: SITE.title,
description: SITE.desc,
site: SITE.website,
items: sortedPosts
.map(({ data }) => ({
link: `posts/${slugify(data)}`,
title: data.title,
description: data.description,
pubDate: new Date(data.pubDatetime),
})),
items: sortedPosts.map(({ data }) => ({
link: `posts/${slugify(data)}`,
title: data.title,
description: data.description,
pubDate: new Date(data.pubDatetime),
})),
});
}