Rom• 780
@RomWeb3
Posted
Hey,
Nice work mate,
I see that i can upVote and downVote as many times as i want.
You should probably set a limit to one upVote & one downVote. Also user shouldn't be able to vote below 0.
I've added 3 conditions in my handleScoreChange function to make this work.
Hope it helps. Happy coding :)
0