Skip to content

Commit

Permalink
fix: duplicated posts
Browse files Browse the repository at this point in the history
This bug has been introduced on t3dotgg@f29469f

Resolve t3dotgg#10
  • Loading branch information
melkir authored Mar 29, 2023
1 parent 4ca8e69 commit 5ec056d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ const Feed = () => {

return (
<div className="flex grow flex-col overflow-y-scroll">
{[...data, ...data, ...data, ...data].map((fullPost) => (
{data.map((fullPost) => (
<PostView {...fullPost} key={fullPost.post.id} />
))}
</div>
Expand Down

0 comments on commit 5ec056d

Please sign in to comment.