mirror of
https://github.com/wavetermdev/docusaurus-og.git
synced 2026-08-05 13:46:35 -07:00
remove duplicated blog posts
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user