Skip to content

Commit a06efea

Browse files
committed
chore: run prettier for tags page
1 parent 669d821 commit a06efea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/tags/[tag]/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ export default function TagPage({ params }: { params: { tag: string } }) {
3434
const tag = decodeURI(params.tag)
3535
// Capitalize first letter and convert space to dash
3636
const title = tag[0].toUpperCase() + tag.split(' ').join('-').slice(1)
37-
const filteredPosts = allCoreContent(sortPosts(
38-
allBlogs.filter((post) => post.tags && post.tags.map((t) => slug(t)).includes(tag))
39-
))
37+
const filteredPosts = allCoreContent(
38+
sortPosts(allBlogs.filter((post) => post.tags && post.tags.map((t) => slug(t)).includes(tag)))
39+
)
4040
return <ListLayout posts={filteredPosts} title={title} />
4141
}

0 commit comments

Comments
 (0)