Skip to content

Commit

Permalink
fixed list key error
Browse files Browse the repository at this point in the history
  • Loading branch information
Pdzly committed Dec 14, 2023
1 parent c497311 commit c01c086
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/components/post-feed/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ import { PostCard } from '../post';
const PostFeed = () => (
<div className="bg-primary dark:bg-primary-dark flex flex-col gap-8">
{testData.posts.map(postData => (
<PostCard
community={postData.community}
counts={postData.counts}
post={postData.post}
/>
<div>
<PostCard
community={postData.community}
counts={postData.counts}
post={postData.post}
/>
</div>
))}
</div>
);
Expand Down

0 comments on commit c01c086

Please sign in to comment.