wilfredmulenga/project-zed

One user, one like click

sikaili99 opened this issue · 3 comments

Currently, a user can like a project as many times they can as long as they refresh the page after liking a project unlike is canceled and like is visible again.

thanks for logging that. would you like to take the issue?

possible way of fixing this bug is to add to the project object, the userUID that liked the project. Then if a user clicks on like, there must be a check initially to see if they liked the project before before increasing the like count

handled the fix according to the suggestion above