From 4b7b6bf6caabf656ab299fb551e5e15f3a7b104b Mon Sep 17 00:00:00 2001 From: amirhouieh Date: Mon, 10 Oct 2022 19:04:24 +0200 Subject: [PATCH] remove duplicated blog posts --- src/components/mdx/BlogPosts/BlogPosts.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/mdx/BlogPosts/BlogPosts.tsx b/src/components/mdx/BlogPosts/BlogPosts.tsx index 7f2fc1e..287ec92 100644 --- a/src/components/mdx/BlogPosts/BlogPosts.tsx +++ b/src/components/mdx/BlogPosts/BlogPosts.tsx @@ -101,7 +101,7 @@ export const BlogPosts = ({ children }: TProps): JSX.Element => { return (
- {[...posts, ...posts].map((post, i) => ( + {posts.map((post, i) => ( ))}