Skip to content

Commit 8b714a9

Browse files
committed
2 parents e98db9f + 750d9a8 commit 8b714a9

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

src/routes/_libraries/blog.index.tsx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,15 @@ const fetchFrontMatters = createServerFn({ method: 'GET' }).handler(
1616
'public, max-age=300, durable, stale-while-revalidate=300',
1717
})
1818

19-
return getPublishedPosts()
20-
.map((post) => {
21-
return {
22-
slug: post.slug,
23-
title: post.title,
24-
published: post.published,
25-
excerpt: post.excerpt,
26-
authors: post.authors,
27-
}
28-
})
19+
return getPublishedPosts().map((post) => {
20+
return {
21+
slug: post.slug,
22+
title: post.title,
23+
published: post.published,
24+
excerpt: post.excerpt,
25+
authors: post.authors,
26+
}
27+
})
2928

3029
// return json(frontMatters, {
3130
// headers: {

0 commit comments

Comments
 (0)