Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Posts are duplicated #10

Open
paddomanno opened this issue Mar 27, 2023 · 1 comment · May be fixed by #13
Open

Posts are duplicated #10

paddomanno opened this issue Mar 27, 2023 · 1 comment · May be fixed by #13

Comments

@paddomanno
Copy link

https://github.com/t3dotgg/chirp/blob/main/src/pages/index.tsx#L90

The list of posts is shown 4 times 👀

@parveen232
Copy link

This is because of mapping over [...data, ...data, ...data, ...data] that's why posts are shown 4 times. This can be resolved by simply mapping over data.

melkir added a commit to melkir/chirp that referenced this issue Mar 29, 2023
This bug has been introduced on t3dotgg@f29469f

Resolve t3dotgg#10
@melkir melkir linked a pull request Mar 29, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants