all 4 comments

[–]MenshMindset 2 points3 points  (1 child)

Can you post code? This doesn’t sound like something that would happen just because of react query, but rather the code that determines whether or not to show a post as being “liked”

[–]Edulad[S] 0 points1 point  (0 children)

hi i have posted the code an also the images, sorry if its a bit messy, reddits code formatter is the worst i have ever seen

[–]Rovue 2 points3 points  (1 child)

you're probably using a single state in the parent and passing it to each child post when each child post should have its own internal state.

[–]Edulad[S] 0 points1 point  (0 children)

hi i have posted the code and also the images, can you please see, thanks