Skip to content

Added custom hook to fetch liked images

Filip Kayar requested to merge LikedImages into main

We should now be able to fetch liked posts and have also moved the profileposts to the tab so we can display the posts we like and then show our own posts too in different tabs. When a user likes an image it will be added to the global state of the user so we know which posts they like. When they are at the tab where they can see their liked posts they will also be able to unlike them there and that will cause the image to be removed from the liked posts this user has.

Merge request reports

Loading