remove duplicated blog posts

This commit is contained in:
amirhouieh
2022-10-10 19:04:24 +02:00
parent bd43250bcf
commit 4b7b6bf6ca
+1 -1
View File
@@ -101,7 +101,7 @@ export const BlogPosts = ({ children }: TProps): JSX.Element => {
return (
<section className={styles.blogpostsWrapper}>
<div className={styles.blogposts}>
{[...posts, ...posts].map((post, i) => (
{posts.map((post, i) => (
<BlogPost key={`p-${i}`} post={post} />
))}
</div>