One user, one like click
sikaili99 opened this issue · 3 comments
sikaili99 commented
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.
wilfredmulenga commented
thanks for logging that. would you like to take the issue?
wilfredmulenga commented
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
wilfredmulenga commented
handled the fix according to the suggestion above