From 08151881ccfdc447e65a0a4d28c3ce2bbb5e8e09 Mon Sep 17 00:00:00 2001 From: satnaing Date: Fri, 24 Mar 2023 23:48:15 +0630 Subject: [PATCH] style: format file with prettier --- src/pages/rss.xml.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/pages/rss.xml.ts b/src/pages/rss.xml.ts index 368eb0e..58f0400 100644 --- a/src/pages/rss.xml.ts +++ b/src/pages/rss.xml.ts @@ -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), + })), }); }