buggood first issuehacktoberfesthelp wanted
Métriques du dépôt
- Stars
- (2 étoiles)
- Métriques de merge PR
- (Métriques PR en attente)
Description
-
Faulty logic:
setImgLiked(false);inHome.jsx:26andHome.jsx:68.- The logic is faulty because if it assumes the image thats going to show up is not going to be "liked" already, which can indeed be the case.
- Local storage is already used to save (
Home.jsx) and view images (Likes.jsx), and could probably be used here too. - A good way to recreate the problem/test a solution is to choose an image by date in the DateInput, like it, choose another image, and then choose it again to see if it's liked.